Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027400 | Retail Modules | Web POS | public | 2014-08-21 10:45 | 2014-09-30 17:15 |
|
Reporter | Orekaria | |
Assigned To | Orekaria | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR14Q4 | Fixed in Version | RR14Q4 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027400: Stabilization: Overhaul Version management |
Description | Stabilization: Overhaul the version management logic
We lack a way to execute different/upgraded code depending on the version e.g: when we introduce a new feature backward compatible and we want the developer to be warned about the new feature
We lack a way to handle version changes:
at least for:
- major, minor version of the WebPOS (Q2, Q3, etc)
- localDB.version
- uuid
maybe also for:
- modules versions
we would like to insert the major.minor version in the generated javascript file
e.g, the first line being:
// mobile.core vQ2.4
|
Steps To Reproduce | Open login-model.js
Verify that his code is present:
localDB: {
size: 4 * 1024 * 1024,
name: 'WEBPOS',
displayName: 'Openbravo Web POS',
version: '0.7'
},
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | feature request | 0027362 | RR14Q4 | closed | Orekaria | Stabilization, performance, developer tools: it would be nice to add checks, etc while not in production | blocks | feature request | 0027329 | | new | Retail | Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) | blocks | defect | 0027332 | RR14Q4 | closed | Orekaria | [API Deprecation] OB.UTILS is no longer a valid namespace and OB.UTIL is missing 2 files | blocks | defect | 0027349 | RR14Q4 | closed | Orekaria | [API Deprecation] The HookManager does not have to depend on the OB.MobileApp.model object | blocks | defect | 0027408 | RR14Q4 | closed | Orekaria | Stabilization: The localDB database version should be set in a better place | blocks | defect | 0029347 | | closed | Orekaria | Stabilization: Normalize version related values |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-08-21 10:45 | Orekaria | New Issue | |
2014-08-21 10:45 | Orekaria | Assigned To | => Orekaria |
2014-08-21 10:45 | Orekaria | Triggers an Emergency Pack | => No |
2014-08-21 10:45 | Orekaria | Relationship added | blocks 0027329 |
2014-08-21 10:46 | Orekaria | Summary | Stabilization: Overhaul the version management logic => Stabilization: Overhaul Version management |
2014-08-21 10:47 | Orekaria | Description Updated | bug_revision_view_page.php?rev_id=6394#r6394 |
2014-08-21 10:48 | Orekaria | Description Updated | bug_revision_view_page.php?rev_id=6395#r6395 |
2014-08-21 10:52 | Orekaria | Description Updated | bug_revision_view_page.php?rev_id=6396#r6396 |
2014-08-21 12:09 | Orekaria | Relationship added | blocks 0027332 |
2014-08-21 14:08 | Orekaria | Status | new => scheduled |
2014-08-21 14:08 | Orekaria | fix_in_branch | => pi |
2014-08-21 14:09 | Orekaria | Relationship added | blocks 0027349 |
2014-08-21 14:42 | Orekaria | Relationship added | blocks 0027408 |
2014-08-21 14:53 | hgbot | Checkin | |
2014-08-21 14:53 | hgbot | Note Added: 0069576 | |
2014-08-21 21:06 | Orekaria | Relationship added | depends on 0027362 |
2014-08-21 21:33 | hgbot | Checkin | |
2014-08-21 21:33 | hgbot | Note Added: 0069582 | |
2014-08-21 21:45 | hgbot | Checkin | |
2014-08-21 21:45 | hgbot | Note Added: 0069584 | |
2014-08-22 01:22 | hgbot | Checkin | |
2014-08-22 01:22 | hgbot | Note Added: 0069588 | |
2014-08-22 01:31 | hgbot | Checkin | |
2014-08-22 01:31 | hgbot | Note Added: 0069589 | |
2014-08-22 21:03 | hgbot | Checkin | |
2014-08-22 21:03 | hgbot | Note Added: 0069619 | |
2014-08-23 00:04 | hgbot | Checkin | |
2014-08-23 00:04 | hgbot | Note Added: 0069626 | |
2014-08-25 13:14 | Orekaria | Status | scheduled => acknowledged |
2014-09-02 21:55 | Orekaria | Status | acknowledged => scheduled |
2014-09-02 21:56 | Orekaria | Status | scheduled => resolved |
2014-09-02 21:56 | Orekaria | Fixed in Version | => RR14Q4 |
2014-09-02 21:56 | Orekaria | Resolution | open => fixed |
2014-09-15 15:24 | marvintm | Review Assigned To | => marvintm |
2014-09-15 15:24 | marvintm | Status | resolved => closed |
2014-09-29 13:33 | hgbot | Checkin | |
2014-09-29 13:33 | hgbot | Note Added: 0070495 | |
2014-09-29 13:33 | hgbot | Checkin | |
2014-09-29 13:33 | hgbot | Note Added: 0070496 | |
2014-09-30 04:03 | hgbot | Checkin | |
2014-09-30 04:03 | hgbot | Note Added: 0070521 | |
2014-09-30 17:15 | hgbot | Checkin | |
2014-09-30 17:15 | hgbot | Note Added: 0070570 | |
2015-03-19 12:59 | Orekaria | Relationship added | blocks 0029347 |
Notes |
|
(0069576)
|
hgbot
|
2014-08-21 14:53
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3a87183f47690e8ff72b76a9f6a9720eb57062a7
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Aug 21 14:53:08 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3a87183f47690e8ff72b76a9f6a9720eb57062a7 [^]
Related to issue 27400: The new OB.UTIL.VersionManagement class has been introduced...
This class has a method called 'deprecated', in which deprecated code will be executed
A warning is sent to the console if in developement
Further improvements would be nice, like version checking
Examples of use:
- the HookManager API change
- the removal of the OB.UTILS namespace
---
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
A web/org.openbravo.mobile.core/source/utils/ob-versionmanagement.js
---
|
|
|
(0069582)
|
hgbot
|
2014-08-21 21:33
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a395c1fbc5a581e1082afec57948df2cd62afa7b
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Aug 21 21:21:44 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a395c1fbc5a581e1082afec57948df2cd62afa7b [^]
Related to issue 27400: OB.UTIL.VersionManagement 0.2:
Release Management request: be able to retrieve all the deprecations even if they have not been executed
Changes made:
- the deprecations will first be registered with the registerDeprecation method
- the deprecations will be executed with the deprecated method
- massive use of the OB.UTIL.DEBUG methods
Result:
- this changes allows to retrieve all the deprecations with the getDeprecations method even if they have not been used
---
M web/org.openbravo.mobile.core/source/utils/ob-versionmanagement.js
---
|
|
|
(0069584)
|
hgbot
|
2014-08-21 21:45
|
|
|
|
(0069588)
|
hgbot
|
2014-08-22 01:22
|
|
|
|
(0069589)
|
hgbot
|
2014-08-22 01:31
|
|
|
|
(0069619)
|
hgbot
|
2014-08-22 21:03
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d0501ee26f72181d2c78db0c8f3da497b90802c1
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Aug 22 21:01:31 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d0501ee26f72181d2c78db0c8f3da497b90802c1 [^]
Related to issue 27400 and issue 27349: The registering of the deprecations has been moved...
... to the ob-versionmanagement.js file
Registering deprecations in that file, will allow easy maintenable global deprecations and cleaner code
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-versionmanagement.js
---
|
|
|
(0069626)
|
hgbot
|
2014-08-23 00:04
|
|
|
|
(0070495)
|
hgbot
|
2014-09-29 13:33
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b353fca305542a3a3783a63428a6ac51e47a8f4b
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Sep 29 13:31:54 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b353fca305542a3a3783a63428a6ac51e47a8f4b [^]
Related to issue 27400: the versions have been changed to use the year and the dbVersion is the main module version
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-versionmanagement.js
---
|
|
|
(0070496)
|
hgbot
|
2014-09-29 13:33
|
|
|
|
(0070521)
|
hgbot
|
2014-09-30 04:03
|
|
|
|
(0070570)
|
hgbot
|
2014-09-30 17:15
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 99cb331bd4bf4e1c25b07a276e333d329ee06065
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Sep 30 17:15:08 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/99cb331bd4bf4e1c25b07a276e333d329ee06065 [^]
Related to issue 27400: VersionManagement: the buildVersionString is now public
- added the current version to the Login window
---
M web/org.openbravo.mobile.core/source/component/ob-login.js
M web/org.openbravo.mobile.core/source/utils/ob-versionmanagement.js
---
|
|