How to solve layout grid error The weights of the columns in a row should be 12, but currently they are -1.?

0
Hi!I am currently upgrading a Mendix application to Mendix 11, which also entails an upgrade from Atlas 3 to Atlas 4. Now I am getting the layout grid error 'The weights of the columns in a row should be 12, but currently they are -1.' (or another negative number). I am using Mendix version 11.6.6. Does anyone know of another way to resolve this CE0535 error other than manually adjusting the layout grids?During the upgrade from Atlas 2 to 3, it was a matter of updating the Atlas_Core module to resolve this error, but unfortunately, that no longer works during the upgrade from Atlas 3 to 4. I also cannot find the solution on the Mendix forum or in the Mendix documentation.Hopefully, someone knows the solution!Kind regards,Nienke
asked
2 answers
2

Hi Nienke


The column weight of -1 = the "Auto-fill" mode. Studio Pro only accepts it when the registered UI Resources version (manifest.json) is ≥ 4.0. If Atlas Core wasn't properly updated, it still reads the old version and throws error.

May be try by re-import Atlas Core 4.x from the Marketplace, then open themesource/atlas_core/manifest.json and confirm the version reads 4.x.x (not 3.x). Also update Atlas_Web_Content and Atlas_Native_Content to their latest releases a version mismatch keeps the registered UI version stuck.


I hope this helps!!

answered
0

Hi Gurumoorthy,


Thanks for your response! Unfortunately, your solution did not solve the issue.


In the meantime, we have found another solution. The issue was that, to clean up the project, we cleared the theme folder. It turned out that the settings.json was located inside, which is necessary for Mendix to determine whether the Atlas theme or another theme is being used. Missing settings.json leads to the layout grids to be broken, because a certain value cannot be retrieved.


Kind regards,

Nienke

answered