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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054704
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Coupons OTFmajoralways2024-02-19 12:192024-03-08 06:44
ReporterkchoperenaView Statuspublic 
Assigned Tosreehari 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054704: CouponOTFRule API - startingTime/endingTime issue in import process

DescriptionWhen launching a Coupon OTF Rule import, 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
Steps To ReproduceTry to import a Coupon OTF Rule using the /org.openbravo.api.ImportService/CouponOTFRule endpoint

RESULT: An error happens:
Error while importing an item: 09:00:00 cannot be parsed to a date using the dateFormat yyyy-MM-dd HH:mm:ss
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0054506 closedrqueralta API OTFCouponRules - startingTime/endingTime issue 
related to defect 0055046 closedRajesh_18 CouponOTFRule API - startingTime/endingTime issue in import process when UPDATING 

-  Notes
(0161800)
hgbot (developer)
2024-03-07 07:03

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/11 [^]
(0161869)
hgbot (developer)
2024-03-08 06:44

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: b925b6de16e4abd018350a3f1dae6b18f8614db1
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 08-03-2024 05:44:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/commit/b925b6de16e4abd018350a3f1dae6b18f8614db1 [^]

Fixes ISSUE-54704: Created Import handler for CouponOTFRule
Created a hook to handle the time import values and pass them as date values

---
A src/org/openbravo/retail/discounts/coupons/otf/api/mappings/otfcouponrules/ImportCouponOTFRuleJavaPropertyMappingHandler.java
---
(0161870)
hgbot (developer)
2024-03-08 06:44

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf.api/-/merge_requests/11 [^]

- Issue History
Date Modified Username Field Change
2024-02-19 12:19 kchoperena New Issue
2024-02-19 12:19 kchoperena Assigned To => Retail
2024-02-19 12:19 kchoperena Triggers an Emergency Pack => No
2024-02-19 12:20 kchoperena Steps to Reproduce Updated View Revisions
2024-02-19 12:21 guillermogil Relationship added related to 0054506
2024-02-28 15:56 sreehari Assigned To Retail => sreehari
2024-03-01 06:20 sreehari Status new => scheduled
2024-03-07 07:03 hgbot Note Added: 0161800
2024-03-08 06:44 hgbot Resolution open => fixed
2024-03-08 06:44 hgbot Status scheduled => closed
2024-03-08 06:44 hgbot Note Added: 0161869
2024-03-08 06:44 hgbot Note Added: 0161870
2024-03-25 13:33 AgatheBertin Relationship added related to 0055046


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker