Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Updated: Comment #0
Problem/Motivation
If you create a custom date-format and then try to edit it without changing the format, you receive an error 'This format already exists. Enter a unique format string.'
Proposed resolution
Fix it
Remaining tasks
Review
User interface changes
None
API changes
None
Related Issues
Test patch coming
Comment | File | Size | Author |
---|---|---|---|
#8 | date-format-edit-2110777-8.patch | 2.18 KB | herom |
#8 | interdiff-2110777-6-8.txt | 929 bytes | herom |
#6 | interdiff.txt | 1.81 KB | larowlan |
#6 | date-format-edit-2110777.2.patch | 2.21 KB | larowlan |
#5 | interdiff.txt | 915 bytes | herom |
Comments
Comment #1
larowlanSomething like this.
Simpletest playing up locally so hoping for red/green but could be wrong
Comment #2
larowlanWrong patch for .pass
Comment #4
larowlanwill probably need a check for isNew() too
Comment #5
herom CreditAttribution: herom commentednew patch.
Comment #6
larowlanIncludes #4
Comment #7
tim.plunkettThis can be assertUrl(), right?
Otherwise this is great.
Comment #8
herom CreditAttribution: herom commented#7 done.
Comment #9
larowlanas per #7
Comment #10
alexpottCommitted 885ac82 and pushed to 8.x. Thanks!