forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a few small issues: length of title/name field, Genre auth…
…orities, and EDTF formatting (Islandora-Devops#113) * Makes the limit on a Node's title field 500 characters. * Makes the limit on a Tax Term's name field 2000 characters. * Adds test to ensure ingests still functions with fields this size. * Updates the possible choices in Genre's Authority Link Field. * Makes all the EDTF dates render the same on an islandora_object. There was one that was accidentally configured differently.
- Loading branch information
Showing
26 changed files
with
453 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,6 +116,7 @@ module: | |
system: 0 | ||
taxonomy: 0 | ||
text: 0 | ||
title_length: 0 | ||
token: 0 | ||
toolbar: 0 | ||
tour: 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/title_length.install b/title_length.install | ||
index 16e673ecd..83592c491 100644 | ||
--- a/title_length.install | ||
+++ b/title_length.install | ||
@@ -32,7 +32,7 @@ function title_length_install() { | ||
// Update storage definition. | ||
$node_type = Drupal::service('entity_type.manager')->getDefinition('node'); | ||
$fields = Node::baseFieldDefinitions($node_type); | ||
- $fields['title']->setSetting('max_length', 500); | ||
+ $fields['title']->setSetting('max_length', $length); | ||
Drupal::entityDefinitionUpdateManager() | ||
->installFieldStorageDefinition('title', 'node', 'node', $fields['title']); | ||
} |
Oops, something went wrong.