- Issue created by @dipakmdhrm
- Merge request !11Add missing description for FieldType declaration. → (Merged) created by dipakmdhrm
- Status changed to Closed: duplicate
over 1 year ago 7:13am 21 December 2023 - 🇮🇳India SandeepSingh199
@dipakmdhrm, Its a duplicate issue & the solutions was already given.
Ref : https://www.drupal.org/project/drupal/issues/3409413 🐛 Error TypeError: Drupal\Core\Field\FieldTypeCategory::getDescription() if a FieldType has 'description' missing in its annotation Fixed - Status changed to Needs review
over 1 year ago 7:17am 21 December 2023 - 🇺🇸United States loze Los Angeles
This module still needs to add a description to the annotation.
The MR here works for me and I am able to access the add new field page.
- Status changed to RTBC
over 1 year ago 11:05am 27 December 2023 - 🇨🇭Switzerland GRcwolf
I had the same issue.
Applying the patch from the MR solved the issue. - 🇪🇸Spain cesarmsfelipe
+1 Applying the patch from the MR solved the issue, please merge!
- First commit to issue fork.
- 🇺🇸United States bluegeek9
bluegeek9 → changed the visibility of the branch 8.x-2.x to hidden.
- 🇺🇸United States dww
I tried and failed to reproduce this locally, with both D10.4 and D10.2. That's because 🐛 Error TypeError: Drupal\Core\Field\FieldTypeCategory::getDescription() if a FieldType has 'description' missing in its annotation Fixed is already fixed, so core no longer crashes when this description is missing. But still worth adding something. 😅
That said "The duration field type." is not very helpful as a description. How about:
"Field to store lengths of time with configurable granularity."
?
Is that too much tech jargon for the site builder UI?
- 🇺🇸United States bluegeek9
I update the text to:
"Stores a duration of time, with configurable units such as hours, days, or weeks."Since it is no longer crashing I change the issue to a task from a bug.
-
bluegeek9 →
committed cc253e8b on 8.x-2.x authored by
dipakmdhrm →
Issue #3410177: Missing description in FieldType declaration
-
bluegeek9 →
committed cc253e8b on 8.x-2.x authored by
dipakmdhrm →