-
Notifications
You must be signed in to change notification settings - Fork 41
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
Inform the editor of an unintended list_type change #72
Comments
Actually this would be a job for the core, since you run into the same problems if specific values are removed from select boxes with TSconfig after they have been already used in production. There should be a real warning similar to the language inconsistency messages telling editors, that the original DB value of a field is not available anymore. |
@IchHabRecht asked me to write down my expectations: A task to check whether there are disallowed types of content elementsI could imagine a CLI task like |
Still keep running into this from time to time, when a field type is missing in the allowed list: editors write into support and ask why their content has disappeared. Maybe we could sponsor or contribute? |
Hi, |
Hi!
The current problem is that the element will open with a default type and be saveable as such. And then it will disappear in the frontend. So in my view, the expected behaviour would be:
|
@IchHabRecht I can test this, where can I pull the feature? |
Hi @domibwagz,
There isn't any branch yet where this can be tested. I'm currently working on some bugfixes beforehand. |
Following scenario in a real world project
solr_pi_results
was forgotten to set in the backend layout configuration. (I found that out today)TCEFORM.tt_content.list_type.disableNoMatchingValueElement = 1
then the content element get's updated to an empty list_type without informing the editor.Is there an approach how to intercept such scenarios? Or makes it sense to extend content_defender/core?
Didn't come up with a proper solution
The text was updated successfully, but these errors were encountered: