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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036915
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajorhave not tried2017-09-21 12:572017-10-17 23:37
ReportershuehnerView Statuspublic 
Assigned Tononofrancisco 
PriorityurgentResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036915: UpdateVariantImage modulescript logic is functionally completely broken and causes lots of wrong data changes

DescriptionThis modulescript apparently (!) was to:
- for product which have a generic product associated
- Clone image associated to genric product
- assign cloned-image-id to specific product

However currently for any specific product
It clones its image and override the m_product image reference with the clone.

Which obviously does not make any sense and has 2 bad side-effects at least:
- changing ad_image_id causing useless diff in sampledata
- duplicating ad_image table size
Steps To ReproduceQ3 install retail+ retail sampledata
export white valley (retail sampledata)
Review diff of m_product + ad_image notice changing id's + table growth
Proposed SolutionUnderstand + fix logic in modulescript
Check and maybe fix older data-corruption
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0099931)
nonofrancisco (developer)
2017-10-17 23:37
edited on: 2017-10-17 23:39

Test Plan

Q3 install retail+ retail sampledata
Export white valley (retail sampledata)

Verify 4 new images have been created
Verify 16 products have been updated.

Currently, there are 5 products being used as generic products (referenced by other products in generic_product_id field), 1 of those products has no image. There are 20 products defined as generic (referencing one of 5 generic products), 4 of them referencing the generic product without image.
After running module script, 4 new images are created, and 16 product are updated, this info is logged to the console when module script is executed.


- Issue History
Date Modified Username Field Change
2017-09-21 12:57 shuehner New Issue
2017-09-21 12:57 shuehner Assigned To => Triage Finance
2017-09-21 12:57 shuehner Modules => Core
2017-09-21 12:57 shuehner Triggers an Emergency Pack => No
2017-10-17 17:29 nonofrancisco Assigned To Triage Finance => nonofrancisco
2017-10-17 17:31 nonofrancisco Status new => scheduled
2017-10-17 23:37 nonofrancisco Note Added: 0099931
2017-10-17 23:39 nonofrancisco Note Edited: 0099931 View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker