-
Notifications
You must be signed in to change notification settings - Fork 12
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
Contao tries database update for custom element field #57
Comments
Does the error also appear if you disable all other extensions? |
Yes, when I disable every extension except RSCE, the error appers. |
It seems to be related to an existing entry in the If I delete all |
I have narrowed it down to one specific custom element in the database causing this problem. However, I do not notice anything wrong with it. Even if I re-save the custom element causing the problem, it does not get rid of the error. |
Weird. I copied the custom content element (via the backend, not via MySQL) and deleted the original. Now the error does not occur anymore. I made an exact comparison of the old and the new SQL data, but the only differences are in the |
Is the ID of the problematic content element the same as the ID of the article? |
Ah, yep! It is/was. That also explains why this problem did not always occur in each article, only in specific ones. It seems the problem only occurs in articles that have an ID for which also a custom element exists with the same ID. |
May be related to 4ea4ee8 |
Could you please try if the latest version from the master branch solves the issue in your installation? |
Yep, that works. |
Will there be a new release with this bug fix soon? |
Version 1.3.6 is now released. |
Since 1.3.5 (I think) I have a weird problem with a specific custom element that I use in an installation.
Whenever I want to insert a new Content Element into a fresh page, i.e. into an empty article, I get the following error:
For some reason Contao tries to insert data into the database for the custom element field "floating" (
rsce_field_floating
), which I have defined in one of the custom elements.The minimum config of the custom element, that causes this error looks like this:
The problem does not occur, if I try to insert a content element into an article, that already has other content elements, it only occurs within empty articles. This is within a Contao 3.5.4 installation, with Rocksolid Custom Elements 1.3.5. The internal cache is disabled and I also tried to delete the RSCE cache.
The problem might not even be specific to this custom element, may be it just happens to be the first one in the list of custom content elements (alphabetically).
Unfortunately, I was not able to reproduce this problem in a separate fresh installation, even when I install all other extensions, that are present in the installation with the error.
But I was hoping that you might have a clue, why Contao would try to insert data into the database for a custom element field.
// edit: I just found out that it also happens in Articles that already have content elements - but only if you try to insert the new content element on the first position.
The text was updated successfully, but these errors were encountered: