Trying to create a new tenant produces the following error:

 Detail: Key (group_id)=(SUPER) is not present in table "security_group".))). 
Rolling back transaction.
org.apache.ofbiz.entity.GenericEntityException: 
org.apache.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:UserLoginSecurityGroup][createdStamp,2024-04-30 
02:20:48.57(java.sql.Timestamp)][createdTxStamp,2024-04-30 
02:20:48.562(java.sql.Timestamp)][fromDate,2001-01-01 
12:00:00.0(java.sql.Timestamp)][groupId,SUPER(java.lang.String)][lastUpdatedStamp,2024-04-30
 02:20:48.57(java.sql.Timestamp)][lastUpdatedTxStamp,2024-04-30 
02:20:48.562(java.sql.Timestamp)][userLoginId,rti-admin(java.lang.String)] (SQL 
Exception while executing the following:INSERT INTO 
public.USER_LOGIN_SECURITY_GROUP (USER_LOGIN_ID, GROUP_ID, FROM_DATE, 
THRU_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, 
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?) (ERROR: insert or update on 
table "user_login_security_group" violates foreign key constraint 
"user_secgrp_grp"
  Detail: Key (group_id)=(SUPER) is not present in table "security_group".)) 
(Error while inserting: 
[GenericEntity:UserLoginSecurityGroup][createdStamp,2024-04-30 
02:20:48.57(java.sql.Timestamp)][createdTxStamp,2024-04-30 
02:20:48.562(java.sql.Timestamp)][fromDate,2001-01-01 
12:00:00.0(java.sql.Timestamp)][groupId,SUPER(java.lang.String)][lastUpdatedStamp,2024-04-30
 02:20:48.57(java.sql.Timestamp)][lastUpdatedTxStamp,2024-04-30 
02:20:48.562(java.sql.Timestamp)][userLoginId,rti-admin(java.lang.String)] (SQL 
Exception while executing the following:INSERT INTO 
public.USER_LOGIN_SECURITY_GROUP (USER_LOGIN_ID, GROUP_ID, FROM_DATE, 
THRU_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, 
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?) (ERROR: insert or update on 
table "user_login_security_group" violates foreign key constraint 
"user_secgrp_grp"
  Detail: Key (group_id)=(SUPER) is not present in table "security_group".)))
      at 
org.apache.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:921) 
~[main/:?]
      at 
org.apache.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1357) 
~[main/:?]
      at 
org.apache.ofbiz.entity.util.EntitySaxReader.writeValues(EntitySaxReader.java:314)
 ~[main/:?]
      at 
org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:284) 
~[main/:?]
      at 
org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:261) 
~[main/:?]
      at 
org.apache.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:267)
 ~[main/:?]
      at 
org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadData(EntityDataLoadContainer.java:432)
 ~[main/:?]
      at 
org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadDataForDelegator(EntityDataLoadContainer.java:184)
 ~[main/:?]
      at 
org.apache.ofbiz.entityext.data.EntityDataLoadContainer.init(EntityDataLoadContainer.java:115)
 ~[main/:?]
      at 
org.apache.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:140)
 ~[main/:?]
      at 
org.apache.ofbiz.base.container.ContainerLoader.loadContainersFromConfigurations(ContainerLoader.java:104)
 ~[main/:?]
      at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74) 
~[main/:?]
      at 
org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
 ~[main/:?]
      at 
org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
 ~[main/:?]
      at org.apache.ofbiz.base.start.Start.main(Start.java:89) ~[main/:?]
Caused by: org.apache.ofbiz.entity.GenericEntityException: Error while 
inserting: [GenericEntity:UserLoginSecurityGroup][createdStamp,2024-04-30 
02:20:48.57(java.sql.Timestamp)][createdTxStamp,2024-04-30 
02:20:48.562(java.sql.Timestamp)][fromDate,2001-01-01 
12:00:00.0(java.sql.Timestamp)][groupId,SUPER(java.lang.String)][lastUpdatedStamp,2024-04-30
 02:20:48.57(java.sql.Timestamp)][lastUpdatedTxStamp,2024-04-30 
02:20:48.562(java.sql.Timestamp)][userLoginId,rti-admin(java.lang.String)] (SQL 
Exception while executing the following:INSERT INTO 
public.USER_LOGIN_SECURITY_GROUP (USER_LOGIN_ID, GROUP_ID, FROM_DATE, 
THRU_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, 
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?) (ERROR: insert or update on 
table "user_login_security_group" violates foreign key constraint 
"user_secgrp_grp"



Reply via email to