Openbravo Issue Tracking System - Retail Modules |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0029280 | Retail Modules | Web POS | public | 2015-03-13 19:59 | 2015-03-27 17:06 |
|
| Reporter | Orekaria | |
| Assigned To | Orekaria | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | RR15Q2 | |
| Merge Request Status | |
| Review Assigned To | marvintm |
| OBNetwork customer | No |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0029280: Stabilization: Session related management requires a synchronous flow |
| Description | Stabilization: Session related management requires a synchronous flow
There are session related exceptions that seams to be provoked by the asynchronous nature of the local database |
| Steps To Reproduce | In OB.Dal.find mofify:
executeSqlErrorHandler('warn', "OB.Dal.find: table", tableName, txError, e);
with
executeSqlErrorHandler('error', "OB.Dal.find: table", tableName, txError, e);
Run the tests. Verify that there are 'session' related errors. E.g:
OB.Dal.save: table 'ad_session'; {"message":"could not prepare statement (1 no such table: ad_session)","code":5} |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | depends on | defect | 0029055 | RR15Q2 | closed | marvintm | Web POS doesn't handle update of local database tables correctly | | depends on | defect | 0029346 | | acknowledged | Retail | Stabilization: OB.Dal.initCache should execute the callback when all the flow paths have finished | | depends on | feature request | 0029281 | | closed | Orekaria | Stabilization: Raise the log level of the OB.Dal.find errors, from 'warn' to 'error' | | blocks | feature request | 0029377 | RR15Q3 | closed | Orekaria | Stabilization: RR15Q2 related | | Not all the children of this issue are yet resolved or closed. |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-03-13 19:59 | Orekaria | New Issue | |
| 2015-03-13 19:59 | Orekaria | Assigned To | => Orekaria |
| 2015-03-13 19:59 | Orekaria | OBNetwork customer | => No |
| 2015-03-13 19:59 | Orekaria | Triggers an Emergency Pack | => No |
| 2015-03-13 22:42 | Orekaria | Relationship added | depends on 0029055 |
| 2015-03-13 22:59 | hgbot | Checkin | |
| 2015-03-13 22:59 | hgbot | Note Added: 0075585 | |
| 2015-03-13 22:59 | hgbot | Status | new => resolved |
| 2015-03-13 22:59 | hgbot | Resolution | open => fixed |
| 2015-03-13 22:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3a2055ff8dfdf99e8f89b052e34ee5c6a52adc31 [^] |
| 2015-03-16 15:09 | Orekaria | Note Added: 0075628 | |
| 2015-03-16 15:09 | Orekaria | Status | resolved => new |
| 2015-03-16 15:09 | Orekaria | Resolution | fixed => open |
| 2015-03-16 17:49 | adrianromero | Note Added: 0075646 | |
| 2015-03-18 13:32 | Orekaria | Note Deleted: 0075628 | |
| 2015-03-19 12:33 | Orekaria | Relationship added | related to 0029346 |
| 2015-03-19 13:06 | Orekaria | Relationship replaced | depends on 0029346 |
| 2015-03-20 19:12 | hgbot | Checkin | |
| 2015-03-20 19:12 | hgbot | Note Added: 0075828 | |
| 2015-03-23 14:52 | Orekaria | Relationship added | blocks 0029377 |
| 2015-03-24 18:35 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=8093#r8093 |
| 2015-03-24 18:35 | Orekaria | Relationship added | depends on 0029281 |
| 2015-03-24 20:32 | hgbot | Checkin | |
| 2015-03-24 20:32 | hgbot | Note Added: 0075945 | |
| 2015-03-25 09:08 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=8100#r8100 |
| 2015-03-25 16:12 | Orekaria | Status | new => scheduled |
| 2015-03-25 16:12 | Orekaria | Status | scheduled => resolved |
| 2015-03-25 16:12 | Orekaria | Fixed in Version | => RR15Q2 |
| 2015-03-25 16:12 | Orekaria | Resolution | open => fixed |
| 2015-03-27 17:06 | marvintm | Review Assigned To | => marvintm |
| 2015-03-27 17:06 | marvintm | Status | resolved => closed |
|
Notes |
|
|
(0075585)
|
|
hgbot
|
|
2015-03-13 22:59
|
|
|
|
|
|
|
|
|
(0075828)
|
|
hgbot
|
|
2015-03-20 19:12
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c668e54425cbee2f0dd05a755150a84472789a9d
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 20 17:15:24 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c668e54425cbee2f0dd05a755150a84472789a9d [^]
Related to issue 29280: 'setUserModelOnline' fixes
- the updateSession was being executed twice
- the 'setUserModelOnline' will save the session with the user
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
|
(0075945)
|
|
hgbot
|
|
2015-03-24 20:32
|
|
|