-
Notifications
You must be signed in to change notification settings - Fork 15
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
Enable updateDescription to override the Description #345
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense from my perspective ✅
Please create an issue and link to it, and include any manual testing steps, and tick all the boxes that apply in the PR description. If you're unsure about any of the boxes after reading the linked documentation, please ask.
What is the purpose of that field? And what is the intended use case for updating the description which gets returned by |
New extension hooks are typically added in minor releases, not in patch releases. |
It's a custom field in the project used for link description, which was an existing field before the upgrade. |
Right, so what does the extension hook do for you? You shouldn't use it to return your pre-existing field value because |
It sounds like for the current major release line you will probably need to rename your field, and perhaps open an issue to change the name of |
I changed the name to LinkDescription and migrated the data. |
Sounds like you don't need this change anymore, so I'm going to close it. |
Description
We are upgrading from version 3 to 4.0.7, and we have a custom field called "Description" under the Link dataobject.
After the upgrade to version 4.0.7, the Description field does not return the correct value.
This fix will allow users to override the Description value if needed.
Please make sure to support CMS version 5.2 by creating the right tag.
Manual testing steps
Issues
Pull request checklist