DGC-7: Remove default value for "Conference year" field#1093
Open
maxstarkenburg wants to merge 1 commit intoDrupal4Gov:developfrom
Open
DGC-7: Remove default value for "Conference year" field#1093maxstarkenburg wants to merge 1 commit intoDrupal4Gov:developfrom
maxstarkenburg wants to merge 1 commit intoDrupal4Gov:developfrom
Conversation
…or to choose a year (was previously set to 2023).
Contributor
|
@maxstarkenburg is there a reason you wouldn't set this to default to the current year? that's the normal behavior. |
Contributor
Author
|
Hi @mikemadison13, yes, precisely to avoid the same problem next year (and the year after that, and ...) that this ticket is meant to resolve (i.e. 2024's announcements being set to 2023, because content editors weren't updating that field value (seemingly glancing over this field, and/or thinking the path alias required a whole ticket to resolve)). Unless we have an annually recurring ticket to update this, this feels like the "safer" option to keep the alias correct IMO. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The default was set to "2023", so editors weren't being vigilant about changing it, so the URL path wasn't getting updated. These pages can all be re-saved with the "Conference year" field set to "2024" in order for the URL path to get updated (the old URLs will redirect to the new one):
This PR removes the default value, forcing content editors to choose an appropriate value when creating an announcement: