Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037226 | Retail Modules | StoreServer | public | 2017-11-06 10:06 | 2017-11-08 12:34 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | pi | Fixed in Version | RR18Q1 | ||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037226: Exception in status update thread | ||||
Description | Organization check exception is thrown when store server is offline and wants to go online. [1] Exception in thread "StatusUpdateThread" org.openbravo.base.exception.OBSecurityException: Organization 0 of object (OBMOBC_SERVER_DEFINITION(41AC2AC8B03249F48FE73782FA190318) (name: Central)) is not present in OrganizationList [102D0E6D37DA46C3BABA6DFF3708F341, D270A5AC50874F8BA67A88EE977F8E3B, 14B1927026BE471E9B85FE699BCA61C2, 4399136852B145BD96CC2A6CE0800C68, B5DE96143D6642228E3B9DEC69886A47, 3B187EC130A549A7A9388F8060EF156D, 687AD71263F94A31B85A3CC9942FF7ED, DF86640764AA4492AB6D4CA2D432B8D4, 67839EEFA49E44AC969BD60093FCC899, 01AD882EFC8545ACA6455E2F6FD51EE9, BF129721D9FB4EB0819509934153E972] at org.openbravo.dal.security.SecurityChecker.checkWriteAccess(SecurityChecker.java:166) at org.openbravo.dal.security.SecurityChecker.checkWriteAccess(SecurityChecker.java:105) at org.openbravo.dal.core.OBInterceptor.doEvent(OBInterceptor.java:350) at org.openbravo.dal.core.OBInterceptor.onFlushDirty(OBInterceptor.java:186) at org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372) at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349) at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.openbravo.dal.service.OBDal.flush(OBDal.java:260) at org.openbravo.dal.core.SessionHandler.flushRemainingChanges(SessionHandler.java:680) at org.openbravo.dal.core.SessionHandler.commitAndClose(SessionHandler.java:592) at org.openbravo.dal.service.OBDal.commitAndClose(OBDal.java:223) at org.openbravo.mobile.core.servercontroller.MobileServerStatusUpdateHandler$StatusUpdateRunnable.run(MobileServerStatusUpdateHandler.java:98) at java.lang.Thread.run(Thread.java:745) | ||||
Steps To Reproduce | I found this when starting the servers both in offline mode. When starting the servers, login to webpos and then order a product it gives the above exception. I am not sure how reproducable it is in other cases. In any case the change seems to make sense and low risk. | ||||
Proposed Solution | Change: OBContext.setAdminMode(true); to OBContext.setAdminMode(false); | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-11-06 10:06 | mtaal | New Issue | |||
2017-11-06 10:06 | mtaal | Assigned To | => mtaal | ||
2017-11-06 10:06 | mtaal | OBNetwork customer | => No | ||
2017-11-06 10:06 | mtaal | Triggers an Emergency Pack | => No | ||
2017-11-07 15:13 | mtaal | Status | new => acknowledged | ||
2017-11-07 15:13 | mtaal | Review Assigned To | => AugustoMauch | ||
2017-11-07 15:13 | mtaal | Description Updated | bug_revision_view_page.php?rev_id=16247#r16247 | ||
2017-11-08 08:53 | hgbot | Checkin | |||
2017-11-08 08:53 | hgbot | Note Added: 0100324 | |||
2017-11-08 08:53 | hgbot | Status | acknowledged => resolved | ||
2017-11-08 08:53 | hgbot | Resolution | open => fixed | ||
2017-11-08 08:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/292f980c1e0e11806afad1b048f87143f51db470 [^] | ||
2017-11-08 12:34 | AugustoMauch | Note Added: 0100348 | |||
2017-11-08 12:34 | AugustoMauch | Status | resolved => closed | ||
2017-11-08 12:34 | AugustoMauch | Fixed in Version | => RR18Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|