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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049368
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsminorhave not tried2022-05-20 12:552022-05-24 19:00
ReportercbernerView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049368: Comparator selector in module propertycondition in tab CRM Property Condition doesn't filter accordingly

DescriptionIn window Discounts and Promotions, in the tab CRM Property Condition when creating or modifying a record, there's a selector for the comparator, this one should only show the comparators that are supported for the CRM Property selected reference type.

As of now, it shows all the comparators registered in the application, some of this will not work on the given property. For example, with a CRM Property that is a String reference, Is Today comparator should not appear in the selector.
Steps To Reproduce1. Install module org.openbravo.discounts.propertycondition
2. Open backoffice and login as system admin
3. Go to Discounts and Promotions window and select one discount
4. In CRM Property Condition tab, add a new record and check that the Comparator selector doesn't filter accordingly.
TagsNo tags attached.
Attached Filespng file icon NotWorkingComparatorSelector.png [^] (374,615 bytes) 2022-05-20 12:55

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0137677)
hgbot (developer)
2022-05-24 13:30

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition/-/merge_requests/2 [^]
(0137683)
hgbot (developer)
2022-05-24 19:00

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition [^]
Changeset: 45b3f864acd1b0a10de112338dd16173007a753c
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 24-05-2022 13:30:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition/-/commit/45b3f864acd1b0a10de112338dd16173007a753c [^]

Fixes ISSUE-49368: Adds a validator to show only comparators available for currently selected field

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0137684)
hgbot (developer)
2022-05-24 19:00

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition/-/merge_requests/2 [^]

- Issue History
Date Modified Username Field Change
2022-05-20 12:55 cberner New Issue
2022-05-20 12:55 cberner Assigned To => cberner
2022-05-20 12:55 cberner File Added: NotWorkingComparatorSelector.png
2022-05-20 12:55 cberner Triggers an Emergency Pack => No
2022-05-24 13:19 AugustoMauch Assigned To cberner => AugustoMauch
2022-05-24 13:19 AugustoMauch Status new => scheduled
2022-05-24 13:30 hgbot Note Added: 0137677
2022-05-24 19:00 hgbot Resolution open => fixed
2022-05-24 19:00 hgbot Status scheduled => closed
2022-05-24 19:00 hgbot Note Added: 0137683
2022-05-24 19:00 hgbot Note Added: 0137684


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker