Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046222Retail ModulesCoupons OTFpublic2021-04-07 08:312021-04-19 07:33
guillermogil 
rqueralta 
normalmajoralways
closedfixed 
5
 
 
No
0046222: File cannot be read
On Coupons OTF there is a file that cannot be read

2021-04-07 08:21:18,992 [http-nio-8080-exec-1] ERROR org.openbravo.client.kernel.StaticResourceComponent - /home/openbravo/eclipse-workspace/xxx/openbravo/WebContent/web/org.openbravo.retail.discounts.coupons.otfevents/couponrulesEvent.js cannot be read

The Component Provider is wrongly defined
Review the logs having coupons otf installed
Modify
globalResources.add(createStaticResource(prefix + "events/couponrulesEvent.js", true));

by
globalResources.add(createStaticResource(prefix + "/js/" + events/couponrulesEvent.js", true));
No tags attached.
Issue History
2021-04-07 08:31guillermogilNew Issue
2021-04-07 08:31guillermogilAssigned To => Retail
2021-04-07 08:31guillermogilResolution time => 1619388000
2021-04-07 08:31guillermogilTriggers an Emergency Pack => No
2021-04-07 08:32guillermogilProposed Solution updated
2021-04-07 15:18rqueraltaAssigned ToRetail => rqueralta
2021-04-07 15:18rqueraltaStatusnew => scheduled
2021-04-13 05:09hgbotNote Added: 0127240
2021-04-19 07:33hgbotResolutionopen => fixed
2021-04-19 07:33hgbotStatusscheduled => closed
2021-04-19 07:33hgbotNote Added: 0127350
2021-04-19 07:33hgbotNote Added: 0127351

Notes
(0127240)
hgbot   
2021-04-13 05:09   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/12 [^]
(0127350)
hgbot   
2021-04-19 07:33   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: ede201393d0b10b75dc3f4ae1a72bc7442e1008d
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-04-12T17:08:35-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/ede201393d0b10b75dc3f4ae1a72bc7442e1008d [^]

Fixed BUG-46222: Fixed couponrulesEvent.js path in component provider

---
M src/org/openbravo/retail/discounts/coupons/otf/OBCPOTFComponentProvider.java
---
(0127351)
hgbot   
2021-04-19 07:33   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/12 [^]