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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035853
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminoralways2017-04-27 08:422017-06-12 09:14
ReportercaristuView Statuspublic 
Assigned Tojorge-garcia 
PriorityhighResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revision2edc5b390905
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035853: Use the StaticResourceProvider in mobile to cache static resources

DescriptionIt would be nice if the caching of the static resources, done by MobileStaticResourceComponent class would make use of the API provided by the new StaticResourceProvider class.

This way this logic would be centralized.
Steps To ReproduceIn description
Proposed SolutionMobileStaticResourceComponent should extend core's StaticResourceComponent
TagsNo tags attached.
Attached Filesdiff file icon 35853.diff [^] (5,050 bytes) 2017-05-09 13:06 [Show Content]
diff file icon 35853_fix.diff [^] (11,119 bytes) 2017-05-11 09:23 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0035852 closedcaristu Openbravo ERP Add a mechanism to cache the static resources 
related to defect 0035972 closedjorge-garcia Retail Modules API change approve required fro Static Resources 

-  Notes
(0096489)
caristu (manager)
2017-05-09 13:07

Attached a file with a patch that implements the support of overriding the result generated by the StaticResourceComponent.
(0096525)
hgbot (developer)
2017-05-11 12:34

Repository: erp/devel/pi
Changeset: 665cccf00c19fd8bf8fc35957482384ead2de1c9
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu May 11 12:33:20 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/665cccf00c19fd8bf8fc35957482384ead2de1c9 [^]

related to issue 35853: ability to override StaticResourceComponent response

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
---
(0096526)
hgbot (developer)
2017-05-11 12:37

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2edc5b3909053d4c94f0f3627d834257fd18f286
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed May 10 13:13:46 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2edc5b3909053d4c94f0f3627d834257fd18f286 [^]

Fixed issue 35853: Use the StaticResourceProvider in mobile to cache static
resourcesFixed issue

Adapt infrastructure for static resources in mobile applications.

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
M src/org/openbravo/mobile/core/MobileStaticResourceComponent.java
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
M src/org/openbravo/mobile/core/process/JSONProcessSimple.java
---
(0096527)
hgbot (developer)
2017-05-11 12:38

Repository: tools/automation/pi-mobile
Changeset: 4a83a4ac01e3531c23707a615e3e0cc7c6dea638
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed May 10 17:11:04 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4a83a4ac01e3531c23707a615e3e0cc7c6dea638 [^]

Related to issue 35853: Use the StaticResourceProvider in mobile to cache static
resourcesFixed issue

Due to these changes, this test doesn't make sense.

---
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I27936_SuffixOfGeneratedJavascript.java
---
(0096958)
hudsonbot (developer)
2017-05-29 17:43

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1ee70113bdc4 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2017-04-27 08:42 caristu New Issue
2017-04-27 08:42 caristu Assigned To => Retail
2017-04-27 08:42 caristu Triggers an Emergency Pack => No
2017-04-27 08:42 caristu Relationship added related to 0035852
2017-04-27 09:04 caristu File Added: MobileStaticResourceComponent.diff
2017-04-27 09:04 caristu Proposed Solution updated
2017-05-09 10:46 caristu File Deleted: MobileStaticResourceComponent.diff
2017-05-09 10:47 caristu Proposed Solution updated
2017-05-09 13:06 caristu File Added: 35853.diff
2017-05-09 13:07 caristu Note Added: 0096489
2017-05-10 15:02 jorge-garcia Status new => scheduled
2017-05-10 15:02 jorge-garcia Assigned To Retail => jorge-garcia
2017-05-11 09:21 jorge-garcia Relationship added related to 0035972
2017-05-11 09:23 jorge-garcia File Added: 35853_fix.diff
2017-05-11 12:34 hgbot Checkin
2017-05-11 12:34 hgbot Note Added: 0096525
2017-05-11 12:37 hgbot Checkin
2017-05-11 12:37 hgbot Note Added: 0096526
2017-05-11 12:37 hgbot Status scheduled => resolved
2017-05-11 12:37 hgbot Resolution open => fixed
2017-05-11 12:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2edc5b3909053d4c94f0f3627d834257fd18f286 [^]
2017-05-11 12:38 hgbot Checkin
2017-05-11 12:38 hgbot Note Added: 0096527
2017-05-29 17:43 hudsonbot Checkin
2017-05-29 17:43 hudsonbot Note Added: 0096958
2017-06-12 09:14 marvintm Review Assigned To => marvintm
2017-06-12 09:14 marvintm Status resolved => closed
2017-06-12 09:14 marvintm Fixed in Version => RR17Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker