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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019203
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupminoralways2011-11-30 12:092012-01-17 03:01
ReporterVictorVillarView Statuspublic 
Assigned Tojecharri 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision9f6b45ab8ded
ProjectionnoneETAnoneTarget Version3.0MP8
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP5.1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019203: Localization/Adress field does not save in Organization window

DescriptionThe localization/address field does not save in Organization window when at the beginning is blank and you try to put a new one. It happens when you are logged with one organization different to the organization you try to put the address and your organization logged does not part of the natural tree of the organization that you try to put the address.

 It does not happen when you modify the localization/address field, it means, it exists an adress, and you change it, it does not matter the organization you are logged.
Steps To ReproduceAs F&B International Group Admin Role -- organization: F&B España, S.A.- Región Sur

Navigate to Organization window:
   - select F&B Us, Inc. organization (organization in a different natural tree)
go to Information tab:
   -Delete the address
   -save it
- Write a new address
- Save it.
We can see an error: Saving failed. With your current role this action is not allowed.

Here is the error:

2011-11-30 10:37:48,590 [ajp-8009-11] ERROR org.openbravo.service.json.DefaultJsonDataService - Entity B9C7088AB859483A9B1FB342AC2BE17A - F&B US, Inc. (OrganizationInformation) with organization F&B US, Inc. references an entity aa - - - - Ciudad Aut?noma de Ceuta - Spain through its property locationAddress but this referenced entity belongs to an organization F&B Espa?a - Regi?n Sur which is not part of the natural tree of F&B US, Inc.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0044299)
hgbot (developer)
2012-01-12 13:29

Repository: erp/devel/pi
Changeset: 9f6b45ab8deda0f2c24432eba99f4b70c7c169c2
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jan 12 13:25:14 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9f6b45ab8deda0f2c24432eba99f4b70c7c169c2 [^]

Fixes issue 19203: Localization/Adress field does not save in Organization window

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/info/Location.java
---
(0044300)
hgbot (developer)
2012-01-12 15:32

Repository: erp/devel/pi
Changeset: fa7f01362abc017b10e0e88f0f4ae1a78d53490b
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jan 12 15:31:02 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fa7f01362abc017b10e0e88f0f4ae1a78d53490b [^]

issue 19203: Localization/Adress field does not save in Organization window.
I only throw the exception when you try to put a Location but you don't have defined the ad_org_id. Apart from that, and to solve the previous exception I have added one read only logic to the field Location. This field is not going to be updatable until the record has been saved.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/info/Location.java
---
(0044301)
hgbot (developer)
2012-01-12 15:35

Repository: erp/devel/pi
Changeset: b86524a0f8665c8dbec5aa34d8ee6f2c13633be8
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jan 12 15:34:40 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b86524a0f8665c8dbec5aa34d8ee6f2c13633be8 [^]

Issue 19203: Localization/Adress field does not save in Organization window

---
M src/org/openbravo/erpCommon/info/Location_F1.html
M src/org/openbravo/erpCommon/info/Location_F1.xml
---
(0044322)
VictorVillar (developer)
2012-01-13 11:03

verified
(0044327)
hgbot (developer)
2012-01-13 15:06

Repository: erp/devel/pi
Changeset: 64738cd965413439e825b9aa2e3ae6b2d1061881
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Jan 13 15:05:54 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/64738cd965413439e825b9aa2e3ae6b2d1061881 [^]

Fixes issue 19487, issue 19203.
I have deleted the message because it is not going to be use more and I have changed the code to get the value of the ad_org_id. Now if the value of inpadOrgId is null I go to the window to get the value.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/info/Location.java
---
(0044333)
hgbot (developer)
2012-01-14 14:41

Repository: erp/devel/pi
Changeset: c8b54c75c7a13980090bb11a7e228aabe079c4ea
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Sat Jan 14 14:40:03 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c8b54c75c7a13980090bb11a7e228aabe079c4ea [^]

issue 19203: Localization/Adress field does not save in Organization window.
Delete the read only logic because now is not necesary (changeset 64738cd96541)

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_DATASET.xml
M src-db/database/sourcedata/AD_DATASET_COLUMN.xml
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_EXTENSION_POINTS.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_FIELDGROUP.xml
M src-db/database/sourcedata/AD_FORM.xml
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_PARA.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DBPREFIX.xml
M src-db/database/sourcedata/AD_PACKAGE.xml
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_PROCESS.xml
M src-db/database/sourcedata/AD_PROCESS_PARA.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_REF_SEARCH.xml
M src-db/database/sourcedata/AD_REF_SEARCH_COLUMN.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
M src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml
M src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M src-db/database/sourcedata/OBUIAPP_PROCESS.xml
M src-db/database/sourcedata/OBUIAPP_REF_WINDOW.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
---
(0044379)
hudsonbot (developer)
2012-01-14 21:21

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/0f91795528e4 [^]

Maturity status: Test
(0044380)
hudsonbot (developer)
2012-01-14 21:21

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/0f91795528e4 [^]

Maturity status: Test
(0044381)
hudsonbot (developer)
2012-01-14 21:21

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/0f91795528e4 [^]

Maturity status: Test
(0044388)
hudsonbot (developer)
2012-01-14 21:21

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/0f91795528e4 [^]

Maturity status: Test
(0044414)
hudsonbot (developer)
2012-01-17 03:01

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/975da45b8cf5 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-11-30 12:09 VictorVillar New Issue
2011-11-30 12:09 VictorVillar Assigned To => jonalegriaesarte
2011-11-30 12:09 VictorVillar Modules => Core
2011-11-30 12:09 VictorVillar Resolution time => 1328482800
2012-01-10 10:33 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-01-12 13:29 hgbot Checkin
2012-01-12 13:29 hgbot Note Added: 0044299
2012-01-12 13:29 hgbot Status new => resolved
2012-01-12 13:29 hgbot Resolution open => fixed
2012-01-12 13:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9f6b45ab8deda0f2c24432eba99f4b70c7c169c2 [^]
2012-01-12 15:32 hgbot Checkin
2012-01-12 15:32 hgbot Note Added: 0044300
2012-01-12 15:35 hgbot Checkin
2012-01-12 15:35 hgbot Note Added: 0044301
2012-01-13 11:03 VictorVillar Note Added: 0044322
2012-01-13 11:03 VictorVillar Status resolved => closed
2012-01-13 15:06 hgbot Checkin
2012-01-13 15:06 hgbot Note Added: 0044327
2012-01-14 14:41 hgbot Checkin
2012-01-14 14:41 hgbot Note Added: 0044333
2012-01-14 21:21 hudsonbot Checkin
2012-01-14 21:21 hudsonbot Note Added: 0044379
2012-01-14 21:21 hudsonbot Checkin
2012-01-14 21:21 hudsonbot Note Added: 0044380
2012-01-14 21:21 hudsonbot Checkin
2012-01-14 21:21 hudsonbot Note Added: 0044381
2012-01-14 21:21 hudsonbot Checkin
2012-01-14 21:21 hudsonbot Note Added: 0044388
2012-01-17 03:01 hudsonbot Checkin
2012-01-17 03:01 hudsonbot Note Added: 0044414


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker