Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023600Openbravo ERPA. Platformpublic2013-04-20 01:512022-02-01 08:09
dbaz 
Triage Platform Base 
highminoralways
acknowledgedopen 
5
 
 
Core
No
0023600: Image selector is not properly updated/cleared when organization field changes
Image selector is not properly updated/cleared when organization field changes.

Maybe it is understood better following the steps to reproduce
As "System Administrator"
* Go to "Tables and Columns"
* Go to "M_Product" table
* Go to its child column "AD_Org_ID"
* Check the "Updatable" checkbox
* Save

* Compile

As "Openbravo Admin"
* Go to "Product" window
* Create new record as "F&B España - Región Norte"
* Fill all mandatory fields
* Upload any image
* Save and close
* Open again recently created record
* Change organization to "F&B España - Región Sur"
* Save
An error is shown "Saving failed. With your current role this action is not allowed."

Really, in the backend, the error is "Entity xx (Product) with organization F&B España - Región Sur references an entity Image through its property image but this referenced entity belongs to an organization F&B España - Región Norte which is not part of the natural tree of F&B España - Región Sur"

The problem is that, in the same way that when you change an organization, if the combos/selector doesn't have a proper value, they become empty or take an available value for the new selected organization, it doesn't happen in the Image selector.

The solution is that each time the organization changes, if the selected image is not allowed for the current organization (or organization tree), the image selector should be cleared.
No tags attached.
related to defect 0023599 closed AugustoMauch Uploaded image cannot be deleted 
related to design defect 0019974 acknowledged Triage Platform Base When changing Organization, it shows the previously selected Business Partner. 
related to defect 00251583.0MP31 closed dbaz Uploaded image cannot be deleted 
Issue History
2013-04-20 01:51dbazNew Issue
2013-04-20 01:51dbazAssigned To => AugustoMauch
2013-04-20 01:51dbazModules => Core
2013-04-20 01:51dbazTriggers an Emergency Pack => No
2013-04-20 01:51dbazRelationship addedrelated to 0023599
2013-04-30 15:58dbazRelationship addedrelated to 0023697
2013-04-30 16:02dbazRelationship addedrelated to 0019974
2013-04-30 16:03dbazRelationship deletedrelated to 0023697
2013-11-14 14:38jonalegriaesarteRelationship addedrelated to 0025158
2015-03-17 14:37alostaleAssigned ToAugustoMauch => platform
2015-11-10 14:25alostaleStatusnew => acknowledged
2015-11-10 14:25alostaleTypedefect => design defect
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.