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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050042
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2022-08-23 19:042022-09-16 13:47
ReporteraxelmercadoView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionfixedFixed in VersionPR22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionPR22Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionPR22Q1SCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesUser Interface Application
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050042: Bug after adding ad_image column in organization

DescriptionWe have added a column of the type image in Organization and after adding it does not allow us to make changes in Organization
We get the following error:
The save action failed. Property organization does not exist for entity Organization
Steps To Reproduce1-Create a new column of type image in the ad_org table
2-implement it in the application dictionary.
3-Attempt to complete a new record in Organization which will cause the error when saving.
Proposed SolutionPartner Practics has created a fix based on the following issue that is related to the problem:https://issues.openbravo.com/view.php?id=33934. [^]

He has adapted it to the new version. Attached is the patch.
TagsNo tags attached.
Attached Filesdiff file icon RemoveImagesEventHandler.diff [^] (1,107 bytes) 2022-08-23 19:04 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0141047)
hgbot (developer)
2022-09-13 11:55

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/709 [^]
(0141189)
hgbot (developer)
2022-09-16 13:47

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: ce7830686bf949626d42f01eaa766241c0fab086
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 16-09-2022 09:06:13
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/ce7830686bf949626d42f01eaa766241c0fab086 [^]

Fixes ISSUE-50042: image columns can be used in ad_org table

The problem was that an event handler was taking for granted that all the tables it worked with were going to
include a property named "organization". This is true for all entities except for the Organization entity itself.

Now the event handler checks if the property exists before trying to retrieve it

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/RemoveImagesEventHandler.java
---
(0141190)
hgbot (developer)
2022-09-16 13:47

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/709 [^]

- Issue History
Date Modified Username Field Change
2022-08-23 19:04 axelmercado New Issue
2022-08-23 19:04 axelmercado Assigned To => Triage Platform Base
2022-08-23 19:04 axelmercado File Added: RemoveImagesEventHandler.diff
2022-08-23 19:04 axelmercado Web browser => Apple Safari
2022-08-23 19:04 axelmercado Modules => User Interface Application
2022-08-23 19:04 axelmercado Triggers an Emergency Pack => No
2022-08-23 19:04 axelmercado Web browser Apple Safari => Google Chrome
2022-08-23 19:30 Practics Issue Monitored: Practics
2022-09-13 11:55 hgbot Note Added: 0141047
2022-09-16 13:47 hgbot Resolution open => fixed
2022-09-16 13:47 hgbot Status new => closed
2022-09-16 13:47 hgbot Fixed in Version => PR22Q4
2022-09-16 13:47 hgbot Note Added: 0141189
2022-09-16 13:47 hgbot Note Added: 0141190


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker