Skip to content
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

Long names assertions #1037

Open
ichavchavadze opened this issue Dec 29, 2023 · 0 comments
Open

Long names assertions #1037

ichavchavadze opened this issue Dec 29, 2023 · 0 comments
Labels
bug Something isn't working
Projects

Comments

@ichavchavadze
Copy link
Collaborator

ichavchavadze commented Dec 29, 2023

If properties have very long name, there are assertions:

*stacks for 5.2-SNAPSHOT, but bug exists also in 6.0-SNAPSHOT

  1. First case:
NAMESPACE LongInternationalizationNamespace;
CLASS LongInternationalizationClass;
longInternationalizationProperty1 = DATA STRING(LongInternationalizationClass);
longInternationalizationProperty2 = DATA STRING(LongInternationalizationClass);
java.lang.AssertionError
	at lsfusion.base.col.implementations.abs.AMSet.exclAdd(AMSet.java:13)
	at lsfusion.base.col.implementations.abs.ASet.addExcl(ASet.java:138)
	at lsfusion.server.physics.exec.db.table.ImplementTable.addField_aroundBody2(ImplementTable.java:177)
	at lsfusion.server.physics.exec.db.table.ImplementTable.addField_aroundBody3$advice(ImplementTable.java:13)
	at lsfusion.server.physics.exec.db.table.ImplementTable.addField(ImplementTable.java:1)
	at lsfusion.server.logics.property.Property.initStored(Property.java:1159)
  1. Second case:
NAMESPACE LongInternationalizationNamespace;
CLASS InternationalizationClass1;
CLASS InternationalizationClass2;
internationalizationProperty1 = DATA STRING(InternationalizationClass1);
internationalizationProperty2 = DATA STRING(InternationalizationClass2);
java.lang.AssertionError
	at lsfusion.server.physics.exec.db.controller.manager.DBManager.migrateClassProperties(DBManager.java:2200)
	at lsfusion.server.physics.exec.db.controller.manager.DBManager.alterDBStructure(DBManager.java:2301)
	at lsfusion.server.physics.exec.db.controller.manager.DBManager.synchronizeDB(DBManager.java:1413)
	at lsfusion.server.physics.exec.db.controller.init.SynchronizeDBTask.run(SynchronizeDBTask.java:17)
@ichavchavadze ichavchavadze added the bug Something isn't working label Dec 29, 2023
@ichavchavadze ichavchavadze added this to New in lsfusion via automation Dec 29, 2023
@ichavchavadze ichavchavadze changed the title Long names assertion Long names assertions Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
lsfusion
  
New
Development

No branches or pull requests

1 participant