I have an UML with some class diagrams and units. One model/unit which contains other units cannot be edited anymore. The slightest change even if I just move an object and resave causes an error the next time I open the UML:
Error:
'' is not a valid integer value
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Most problems of that type so far were related to the separator inside of double values. You may take a look at the integers inside of the save file looking at lines with type="integer". It may help identify an incorrectly stored integer value.
Also units are generally an infrequently used feature so they were not deeply tested. Maybe merging some of them would help with the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same problem, looking at the file, all the lines with type="integer" have the correct values, I don't know if the model is reaching the maximum number of elements. I have attached the unit for reference.
In the posted unit file there is a list of subunits:
<XPD:SUBUNITS><XPD:UNIT>MCU 00.40-Administrar Sociedades Controladas.unt</XPD:UNIT><XPD:UNITowner="l/ZMAUdP1UyIItFc3XnepAAA"index="13">MCU 54 Consultas.unt</XPD:UNIT><XPD:UNITowner="l/ZMAUdP1UyIItFc3XnepAAA"index="14">MCU 55 AAA.unt</XPD:UNIT><XPD:UNITowner="fPiiVz2IK0CBfIARwhgH/wAA"index="23">MCU 00.25.unt</XPD:UNIT><XPD:UNITowner="fPiiVz2IK0CBfIARwhgH/wAA"index="24">MCU 00.26 Consultas.unt</XPD:UNIT><XPD:UNITowner="fPiiVz2IK0CBfIARwhgH/wAA"index="25">MCU 00.41 Administrar Representante Legal.unt</XPD:UNIT><XPD:UNITowner="fPiiVz2IK0CBfIARwhgH/wAA"index="26">MCU 00.42 Empresas Pertenecientes al Gpo.unt</XPD:UNIT></XPD:SUBUNITS>
The first one for some reason is lacking owner and index attributes. Correcting that will fix the file loading. Additionally I made the code in build 5.6.6 more friendly to missing attributes and when converted to int it will be 0. I hope it will not backfire somewhere else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I have an UML with some class diagrams and units. One model/unit which contains other units cannot be edited anymore. The slightest change even if I just move an object and resave causes an error the next time I open the UML:
Error:
'' is not a valid integer value
Most problems of that type so far were related to the separator inside of double values. You may take a look at the integers inside of the save file looking at lines with type="integer". It may help identify an incorrectly stored integer value.
Also units are generally an infrequently used feature so they were not deeply tested. Maybe merging some of them would help with the problem.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I have the same problem, looking at the file, all the lines with type="integer" have the correct values, I don't know if the model is reaching the maximum number of elements. I have attached the unit for reference.
Thanks in advance.
The unit is quite big so it indeed may be hitting some limits. I will look closer at it soon.
The first one for some reason is lacking owner and index attributes. Correcting that will fix the file loading. Additionally I made the code in build 5.6.6 more friendly to missing attributes and when converted to int it will be 0. I hope it will not backfire somewhere else.