Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054506Retail ModulesCoupons OTFpublic2024-01-30 16:052024-02-19 12:22
rqueralta 
rqueralta 
normalminorhave not tried
closedfixed 
5
 
RR24Q2 
guillermogil
No
0054506: API OTFCouponRules - startingTime/endingTime issue
Call Export API /openbravo/ws/org.openbravo.api.ExportService/CouponOTFRule, we got the value with a date

"startingTime": "2024-01-18 09:00:00.0",
"endingTime": "2024-01-18 18:00:00.0",

We should expect:

"startingTime": "09:00:00.0",
"endingTime": "18:00:00.0",
Call Export API:

http://localhost:8080/openbravo/ws/org.openbravo.api.ExportService/CouponOTFRule/bySearchKey?searchKey="searchKey" [^]
No tags attached.
related to defect 0054704 closed sreehari CouponOTFRule API - startingTime/endingTime issue in import process 
Issue History
2024-01-30 16:05rqueraltaNew Issue
2024-01-30 16:05rqueraltaAssigned To => Retail
2024-01-30 16:05rqueraltaTriggers an Emergency Pack => No
2024-01-30 16:06rqueraltaAssigned ToRetail => rqueralta
2024-01-30 16:06rqueraltaStatusnew => scheduled
2024-01-30 16:11hgbotNote Added: 0159942
2024-02-06 11:03hgbotResolutionopen => fixed
2024-02-06 11:03hgbotStatusscheduled => closed
2024-02-06 11:03hgbotNote Added: 0160292
2024-02-06 11:03hgbotNote Added: 0160293
2024-02-19 11:20kchoperenaNote Added: 0160885
2024-02-19 11:20kchoperenaStatusclosed => new
2024-02-19 11:20kchoperenaResolutionfixed => open
2024-02-19 12:21guillermogilRelationship addedrelated to 0054704
2024-02-19 12:21kchoperenaResolutionopen => fixed
2024-02-19 12:22guillermogilStatusnew => scheduled
2024-02-19 12:22guillermogilStatusscheduled => resolved
2024-02-19 12:22guillermogilFixed in Version => RR24Q2
2024-02-19 12:22guillermogilReview Assigned To => guillermogil
2024-02-19 12:22guillermogilStatusresolved => closed

Notes
(0159942)
hgbot   
2024-01-30 16:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/10 [^]
(0160292)
hgbot   
2024-02-06 11:03   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api [^]
Changeset: 1d50c385e52e46149aacf63f1f32d7f4d826c610
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 06-02-2024 10:03:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/commit/1d50c385e52e46149aacf63f1f32d7f4d826c610 [^]

Fixed ISSUE-54506: CouponOTF Rule API send just the hour instead date + hour

---
A src/org/openbravo/retail/discounts/coupons/otf/api/mappings/otfcouponrules/ExportCouponOTFRuleJavaPropertyMappingHandler.java
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0160293)
hgbot   
2024-02-06 11:03   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/10 [^]
(0160885)
kchoperena   
2024-02-19 11:20   
The import of the CouponOTFRule is still failing while parsing the startTime. The integration is not able to manage an import with the next startTime:

"startingTime": "09:00:00",