You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have an Excel table named "personal", looks as follows:
Bug Description
The persistence save method doesn't work, as the id is not generated, when using PostgreSQL. This might be related to issue 24
To Reproduce
start process
create a new entry via respective button and fill in the text fields in the detail view
click on Proceed button to save the new entity => causes error message (see below)
Potential Workaround:
Tick the generated property in the following window in the entity class:
Expected behavior
Both buttons should work.
Error Screenshots
IvyScriptRuntimeException: IvyScript Runtime Exception in
Instruction:
ivy.persistence.pu.persist(out.edit)
Block:
my.namespace.ausleihe.PersonalManager.PersonalManagerData out;
out = in;
if ! out.edit.#id.is initialized()
{
out.edit = (ivy.persistence.pu.persist(out.edit) AS my.namespace.ausleihe.Personal);
out.entries.add(out.edit);
}
else
{
ivy.persistence.pu.merge(out.edit);
};
out.edit = null;
IvyScriptMethodInvocationException: Error calling method persist(Object) on an object of class ch.ivyteam.ivy.process.data.persistence.internal.IvyEntityManager.
PersistenceException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): my.namespace.ausleihe.Personal
IdentifierGenerationException: ids for this class must be manually assigned before calling save(): my.namespace.ausleihe.Personal
Desktop (please complete the following information):
OS: Windows
Browser: integrated webbrowser in Designer Version 10.0.21
Excel Importer Version: 10.0.12
PostgreSQL DB: PostgreSQL 15.8 (Debian 15.8-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
The text was updated successfully, but these errors were encountered:
Dear @ivy-sgi, we have found the following bug,
splitted fron #64 reported by @FrohnmaierMariano-prodato :
we have an Excel table named "personal", looks as follows:
Bug Description
The persistence save method doesn't work, as the id is not generated, when using PostgreSQL. This might be related to issue 24
To Reproduce
Potential Workaround:
Tick the generated property in the following window in the entity class:
Expected behavior
Both buttons should work.
Error Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: