-
Notifications
You must be signed in to change notification settings - Fork 55
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
Upgrade step for simplified data layout (simplify_layout) corrupts covers in existing setups #530
Comments
@rodfersou can you please take a look? |
@fredvd could you share this cover layout with us to investigate what happen? |
Here's a dump of obj.cover_layout before and after the upgrade. (http://www.vmm.be front page) Before update:
2015-06-18 19:39:44 INFO collective.cover "/plone/welkom" was updated After update:
|
The layout-type property is not necessary, so it was removed. |
The code of c.cover should understand the new structure |
@fredvd could you confirm this? |
The problem was that our custom Grid system wasn't using the internally changed column-size yet so all columns were 'reset' to size 1. I already figured out if all else was ok our only other customisation was the gid system (heck we added customisable grid to cover :-P ). and found @djowett's updated to the developer docs. I've added a warning to the developer docs that 1.0a10 > needs an update to custom grid systems and i've put it in the changes so other people can see this. @rodfersou even if it's internal data changes, please mention backward incompatible changes in the main CHANGES log with a warning, it's the only way contributors to c.cover can figure out incompatible changes without hunting through all the changes on github themselves. IGridSystem is an 'official' extension for integrators to configure cover afaics. |
that existing custom grid systems have to be upgraded after release 1.0a11 because of internal data structure changes, otherwise your cover columns will be seem to reset to width "1". (closes `#530`_).
Closes by fixes to a custom GridSystem as per the updates found in b63ff67 |
commit f740406 changes the structure of existing covers/layouts where all the column sizes seem to be reset to 1 column. Will investigate later today, have a meeting first.
Before:
After:
The text was updated successfully, but these errors were encountered: