Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many DataObjects are missing class_description config #11607

Open
4 tasks
emteknetnz opened this issue Feb 12, 2025 · 0 comments
Open
4 tasks

Many DataObjects are missing class_description config #11607

emteknetnz opened this issue Feb 12, 2025 · 0 comments

Comments

@emteknetnz
Copy link
Member

Split from #11603

When running the text collector task it was noticed that a large number of DataObjects were missing the class_description config

A few examples

  • SilverStripe\LinkField\Models\EmailLink
  • SilverStripe\CMS\Model\SiteTreeLink
  • SilverStripe\UserForms\Model\EditableCustomRule

Acceptance criteria

  • Write a script to identify all DataObjects that are missing class_description config
  • Add new class_description to these DataObjects
  • Possible reverse the conditional logic added to DataObject::provideI18nEntities() in the linked PR above
  • Possibly the raise notices or throw exceptions if config is missing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant