Openbravo Issue Tracking System - POS2
View Issue Details
0048218POS2POSpublic2021-12-10 13:122021-12-22 17:34
shuehner 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0048218: Cleanup preference list if CashupStatisticsMock.config.json
This file in pos2 module
web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/mock/CashupStatisticsMock.config.json

came up several times in other work removing obsolete ad_preferences

Example is issue 48009 which cleanup up the mock file
Another example is work from issue 48000 which will remove more preferences:
OBMOBC_AuthenticationTokenMaxAge
OBMOBC_CONNECTION_TIMEOUT_REQUEST
OBMOBC_DatabaseCongestionThreshold
OBMOBC_FailedTransitionToOnlineWaitTime
OBMOBC_MaxDeltaSyncAge
OBMOBC_MultiServerArchitecture
OBMOBC_NumberOfRequestRetries_SS
OBMOBC_Offline_Triggered_Only_By_User_Actions
OBMOBC_Ping_Periodicity
OBMOBC_READ_TIMEOUT_REQUEST
OBMOBC_ServerMessage
OBMOBC_ServerStatusMaxAge
OBMOBC_TransitionToOfflineWait

Based on this it probably makes sense to do a one time bigger cleanup/review of that Mock flie (related to preferences (to cut down the list to the ones actually used or the ones being different from the implied default)
=> That way pos2 module does not need to be changed for lots of otherwise unrelated preferences

Entries are probably all in the 'permissions' section of the mock-file.
Apart from the cleanup it makes sense to order by list once as it makes any review a lot easier.
-
No tags attached.
related to defect 0048000 closed shuehner Retail Modules Remove obsolete storeserver related code from mobile.core 
related to defect 0048009 closed prakashmurugesan88 POS2 Remove leftover references to OBMOBC_SynchronizedMode 
Issue History
2021-12-10 13:12shuehnerNew Issue
2021-12-10 13:12shuehnerAssigned To => Retail
2021-12-10 13:12shuehnerTriggers an Emergency Pack => No
2021-12-10 13:12shuehnerRelationship addedrelated to 0048000
2021-12-10 13:12shuehnerRelationship addedrelated to 0048009
2021-12-22 17:34guilleaerStatusnew => acknowledged

There are no notes attached to this issue.