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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040927
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2019-05-21 16:012019-05-27 13:54
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR19Q3
StatusclosedFix in branchFixed in SCM revision073f41cdb735
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression levelCoding ( Testing )
Regression date2019-05-21
Regression introduced in releasepi
Regression introduced by commithttp://code.openbravo.com/erp/devel/pi/rev/2357e260529dfd5d7ad9da6b06d68fcb1c31e229 [^]
Triggers an Emergency PackNo
Summary

0040927: ModelProvider does not flag all entities with images

DescriptionModelProvider does not contain correct information about entities with images and files in case image FK columns are marked not to generate properties in parent.
Steps To Reproduce1. Mark M_Product_Category.AD_Image_ID not to generate one-to-many property in parent entity:

   update ad_column set is_child_property_in_parent = 'N' where ad_column_id = 'F8F8B51087D44986A4864F6047FC44D4';

2. Run ImageTest unit test
  -> It fails because ModelProvider does not include ProductCategory entity as part of the entities with images
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040758 closedcaristu In discount & promotions, with Combo discount type, the organization can not be modified 
caused by feature request 0040290 closedalostale do not generate one-to-many property in parent entity for all FK properties 
blocks design defect 0040906 closedalostale platform: review FK columns to set which ones shouldn't generate one-to-many property in parent entity 

-  Notes
(0112056)
hgbot (developer)
2019-05-21 16:15

Repository: erp/devel/pi
Changeset: 073f41cdb73532a53845bea1a68e70511964108d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue May 21 15:56:38 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/073f41cdb73532a53845bea1a68e70511964108d [^]

fixed bug 40927: ModelProvider does not flag all entities with images or files

  They were incorrectly marked only in case their one-to-many property in parent
  entity was marked to be genereted. They need to be marked in any case.

---
M src/org/openbravo/base/model/ModelProvider.java
---
(0112106)
caristu (developer)
2019-05-24 08:17

Reviewed
(0112167)
hudsonbot (developer)
2019-05-27 13:54

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/bdad8ace6f89 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2019-05-21 16:01 alostale New Issue
2019-05-21 16:01 alostale Assigned To => platform
2019-05-21 16:01 alostale Modules => Core
2019-05-21 16:01 alostale Triggers an Emergency Pack => No
2019-05-21 16:01 alostale Assigned To platform => alostale
2019-05-21 16:02 alostale Regression level => Coding ( Testing )
2019-05-21 16:02 alostale Regression date => 2019-05-21
2019-05-21 16:02 alostale Regression introduced in release => pi
2019-05-21 16:02 alostale Regression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/2357e260529dfd5d7ad9da6b06d68fcb1c31e229 [^]
2019-05-21 16:02 alostale Relationship added caused by 0040290
2019-05-21 16:02 alostale Relationship added blocks 0040906
2019-05-21 16:03 alostale Relationship added related to 0040758
2019-05-21 16:03 alostale Review Assigned To => caristu
2019-05-21 16:15 hgbot Checkin
2019-05-21 16:15 hgbot Note Added: 0112056
2019-05-21 16:15 hgbot Status new => resolved
2019-05-21 16:15 hgbot Resolution open => fixed
2019-05-21 16:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/073f41cdb73532a53845bea1a68e70511964108d [^]
2019-05-24 08:17 caristu Note Added: 0112106
2019-05-24 08:17 caristu Status resolved => closed
2019-05-24 08:17 caristu Fixed in Version => 3.0PR19Q3
2019-05-27 13:54 hudsonbot Checkin
2019-05-27 13:54 hudsonbot Note Added: 0112167


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker