Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050288Retail ModulesWeb POSpublic2022-09-20 00:032022-10-04 14:06
guilleaer 
hcurbelo 
normalminorhave not tried
closedfixed 
5
 
RR23Q1 
gorka_gil
No
0050288: Product characteristics values are not managing well incremental refresh. Not deleted when disactivated
Product characteristics values are not managing well incremental refresh. Not deleted when disactivated
Login in poc with some prod characteristics value configured
check table in indexdb
go to backoffice and disable any value
Como back to POs and refresh indexdb

De-activated record is still there
Attached propossed diff to remove active for query filter
No tags attached.
diff diffChValues.diff (1,121) 2022-09-20 00:03
https://issues.openbravo.com/file_download.php?file_id=17533&type=bug
Issue History
2022-09-20 00:03guilleaerNew Issue
2022-09-20 00:03guilleaerAssigned To => Retail
2022-09-20 00:03guilleaerFile Added: diffChValues.diff
2022-09-20 00:03guilleaerTriggers an Emergency Pack => No
2022-09-26 18:42gorka_gilAssigned ToRetail => hcurbelo
2022-09-29 05:41hcurbeloNote Added: 0141469
2022-09-29 16:08hcurbeloNote Edited: 0141469bug_revision_view_page.php?bugnote_id=0141469#r24805
2022-09-29 16:32hgbotNote Added: 0141513
2022-09-29 17:24hcurbeloNote Edited: 0141469bug_revision_view_page.php?bugnote_id=0141469#r24808
2022-10-03 18:25hgbotNote Added: 0141589
2022-10-04 14:05gorka_gilStatusnew => scheduled
2022-10-04 14:06gorka_gilStatusscheduled => resolved
2022-10-04 14:06gorka_gilFixed in Version => RR23Q1
2022-10-04 14:06gorka_gilResolutionopen => fixed
2022-10-04 14:06gorka_gilReview Assigned To => gorka_gil
2022-10-04 14:06gorka_gilStatusresolved => closed

Notes
(0141469)
hcurbelo   
2022-09-29 05:41   
(edited on: 2022-09-29 17:24)
I tried test some variant. If remove the active filter from query in class CharacteristicValue, all work fine. Think that the filter "active" in query don't have sense. The data only set into the model if the values that are actives. The propossed diff to remove active for query filter is the correct.

(0141513)
hgbot   
2022-09-29 16:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/943 [^]
(0141589)
hgbot   
2022-10-03 18:25   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/943 [^]