Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041323
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServercriticalhave not tried2019-07-09 15:572019-07-11 22:17
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutioninvalidFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041323: Store server source version check not comparable with central server version check

DescriptionIn the changes introduced in the related issue the assumption was that the same source code would result in the checksum being the same on central and store. This showed however not to be true.

Snippet from email:
The mechanism to check if the webpos and store server have the same version uses the source version code. This source version code can be retrieved in the javascript console in the browser with:
OB.UTIL.localStorage.getItem('SourceVersion_' + OB.MobileApp.model.get('appName'))
(after logging into webpos)

The source version code is also used to generate the javascript source filename. The store server and the central server should have the same source version code, so the same filename. You can find the javascript file in the webapps folder of tomcat and then:
openbravo/web/js/gen
(this folder might not yet be there on a ss, to let it be generated visit the webpos url of the store server directly, that's the reason I indicated to visit that url, just to make sure the file gets generated once)

The current cs source version is:
8d54a111656735b15960db18558c8bb7
So the javascript source file in the above gen directory in cs is: 8d54a111656735b15960db18558c8bb7_WebPOS.js

We are fine if the store servers have the same javascript source filename (as this means they have the same source version code generated).

What I see however when I check some store servers at the customer:
store1: 0f726c47e2c1a090e04c482a6c8c80e5_WebPOS.js
store2: 0f726c47e2c1a090e04c482a6c8c80e5_WebPOS.js
store3: 0f726c47e2c1a090e04c482a6c8c80e5_WebPOS.js

So all these store servers generate the same source version but a different one than central. This eventhough the source files are exactly the same (I did a byte-byte comparison).

Steps To ReproduceHave store and central in same version but run them on different images
Proposed Solutionbackout related issue
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0041069 closedmtaal SourceCode not updated after a deploy if the StoreServer is offline 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-07-09 15:57 mtaal New Issue
2019-07-09 15:57 mtaal Assigned To => mtaal
2019-07-09 15:57 mtaal Triggers an Emergency Pack => No
2019-07-09 15:57 mtaal Relationship added caused by 0041069
2019-07-11 22:17 mtaal Status new => closed
2019-07-11 22:17 mtaal Resolution open => invalid


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker