Bug description
A model I validated and saved yesterday can't be opened anymore today
How to reproduce
I will send the .sdbm via mail
Expected behavior
Model opens without issues
Info about your desktop
- OS: Kubuntu
- Version: 24.04
- Window manager: KDE
- pgModeler version: 1.2.3
- Qt version:
Stacktrace / Debug info
If pgModeler crashed after the bug raised attach the stacktrace below
[0] src/mainwindow.cpp (1376)
void MainWindow::addModel(const QString &)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
[1] src/mainwindow.cpp (1350)
void MainWindow::addModel(const QString &)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
[2] src/widgets/modelwidget.cpp (1882)
void ModelWidget::loadModel(const QString &)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
[3] src/databasemodel.cpp (3662)
void DatabaseModel::loadModel(const QString &)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
** /home/user/.config/pgmodeler-1.2/tmp/split_model_VhuceU.dbm (line: 238)
[4] src/databasemodel.cpp (3594)
void DatabaseModel::loadModel(const QString &)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
** /home/user/.config/pgmodeler-1.2/tmp/split_model_VhuceU.dbm (line: 238)
[5] src/databasemodel.cpp (3677)
BaseObject *DatabaseModel::createObject(ObjectType)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
[6] src/databasemodel.cpp (5194)
Table *DatabaseModel::createTable()
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
[7] src/databasemodel.cpp (10154)
TableClass *DatabaseModel::createPhysicalTable() [TableClass = Table]
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
** /home/user/.config/pgmodeler-1.2/tmp/split_model_VhuceU.dbm (line: 238)
[8] src/table.cpp (73)
virtual void Table::addObject(BaseObject *, int)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
[9] src/physicaltable.cpp (483)
virtual void PhysicalTable::addObject(BaseObject *, int)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
[10] src/baseobject.cpp (1001)
virtual QString BaseObject::getSourceCode(SchemaParser::CodeType, bool)
[AsgObjectInvalidDefinition] The object 'gp_pk' (Constraint) has inconsistent SQL or XML definition!
[11] src/schemaparser.cpp (1234)
QString SchemaParser::getSourceCode(const QString &, attribs_map &, CodeType)
[UndefinedAttributeValue] Attribute 'src-columns' with an undefined value in file '/home/user/projects/pgmodeler_acm/pgmodeler_bin/pgmodeler1.2.3/schemas/sql/constraint.sch', line 32, column 59!
[12] src/schemaparser.cpp (1683)
QString SchemaParser::getSourceCode(const QString &, attribs_map &)
[UndefinedAttributeValue] Attribute 'src-columns' with an undefined value in file '/home/user/projects/pgmodeler_acm/pgmodeler_bin/pgmodeler1.2.3/schemas/sql/constraint.sch', line 32, column 59!
[13] src/schemaparser.cpp (1565)
QString SchemaParser::getSourceCode(const attribs_map &)
[UndefinedAttributeValue] Attribute 'src-columns' with an undefined value in file '/home/user/projects/pgmodeler_acm/pgmodeler_bin/pgmodeler1.2.3/schemas/sql/constraint.sch', line 32, column 59!
Additional info
Add any other information that you may find useful to help in the problem solving.
Bug description
A model I validated and saved yesterday can't be opened anymore today
How to reproduce
I will send the .sdbm via mail
Expected behavior
Model opens without issues
Info about your desktop
Stacktrace / Debug info
If pgModeler crashed after the bug raised attach the stacktrace below
Additional info
Add any other information that you may find useful to help in the problem solving.