Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0036915 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] 02. Master data management | major | have not tried | 2017-09-21 12:57 | 2017-10-17 23:37 | |||||||
Reporter | shuehner | View Status | public | |||||||||
Assigned To | nonofrancisco | |||||||||||
Priority | urgent | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036915: UpdateVariantImage modulescript logic is functionally completely broken and causes lots of wrong data changes | |||||||||||
Description | This 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 Reproduce | Q3 install retail+ retail sampledata export white valley (retail sampledata) Review diff of m_product + ad_image notice changing id's + table growth | |||||||||||
Proposed Solution | Understand + fix logic in modulescript Check and maybe fix older data-corruption | |||||||||||
Tags | No 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 |