Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055046Retail ModulesRetail APIpublic2024-03-25 13:322024-04-15 08:53
AgatheBertin 
Rajesh_18 
normalmajoralways
closedfixed 
5
 
RR24Q3 
No
0055046: CouponOTFRule API - startingTime/endingTime issue in import process when UPDATING
When launching a Coupon OTF Rule import, and WHEN YOU UPDATE A RECORD, if we just put the hour in the startTime, we get the following error:


Error while importing an item: 09:00:00 cannot be parsed to a date using the dateFormat yyyy-MM-dd HH:mm:ss

It should be able just to set an hour, not date + hour

NOTE : also happen with dayStartingTime (monday/tuesday/ etc etc)

related to https://issues.openbravo.com/view.php?id=54704 [^]
Try to import a Coupon OTF Rule using the /org.openbravo.api.ImportService/CouponOTFRule endpoint, 2 TIMES

RESULT: An error happens the second time
Error while importing an item: 09:00:00 cannot be parsed to a date using the dateFormat yyyy-MM-dd HH:mm:ss
No tags attached.
related to defect 0054704 closed sreehari CouponOTFRule API - startingTime/endingTime issue in import process 
Issue History
2024-03-25 13:32AgatheBertinNew Issue
2024-03-25 13:32AgatheBertinAssigned To => Triage Platform Conn
2024-03-25 13:32AgatheBertinTriggers an Emergency Pack => No
2024-03-25 13:33AgatheBertinRelationship addedrelated to 0054704
2024-03-26 07:49guillermogilAssigned ToTriage Platform Conn => Retail
2024-03-26 07:50guillermogilStatusnew => acknowledged
2024-03-27 11:37Rajesh_18Assigned ToRetail => Rajesh_18
2024-03-27 11:37Rajesh_18Statusacknowledged => scheduled
2024-03-28 13:46hgbotNote Added: 0162752
2024-04-11 14:44hgbotResolutionopen => fixed
2024-04-11 14:44hgbotStatusscheduled => resolved
2024-04-11 14:44hgbotNote Added: 0163101
2024-04-11 14:44hgbotNote Added: 0163102
2024-04-15 08:53marvintmStatusresolved => closed
2024-04-15 08:53marvintmFixed in Version => RR24Q3

Notes
(0162752)
hgbot   
2024-03-28 13:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/13 [^]
(0163101)
hgbot   
2024-04-11 14:44   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api [^]
Changeset: 69729758a59c519381a777ef4a24e09adb793e0c
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 09-04-2024 18:13:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/commit/69729758a59c519381a777ef4a24e09adb793e0c [^]

Fixed ISSUE-55046: Added import java property mapping handler for properties with timestamp format

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
M src/org/openbravo/retail/discounts/coupons/otf/api/mappings/otfcouponrules/ImportCouponOTFRuleJavaPropertyMappingHandler.java
---
(0163102)
hgbot   
2024-04-11 14:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/13 [^]