Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2013-01-08 13:302013-01-10 18:15
ReportervmromanosView Statuspublic 
Assigned Todmiguelez 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision8525372a1fce
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_12
OS VersionDebian 5.0Database version8.3.8Ant version1.7.0
Product Version3.0MP16.3SCM revision 
Review Assigned Tomarvintm
Web browser
Regression levelProduction - Confirmed Stable
Regression date2012-09-26
Regression introduced in release
Regression introduced by commit [^]
Triggers an Emergency PackYes

0022738: Organization level datasets applied to different organizations

DescriptionWe have a client with several organizations and we want to apply the same dataset (organization data access level) to different organizations.
When we apply it for the first time, it works fine. However, when we try to apply it to other organization, no records are inserted into the database.

It's a regression that affects MPs greater than 3.0MP15.2:
+ 3.0MP16
+ 3.0MP17
+ 3.0MP18
Steps To ReproduceI have been able to reproduce it using the Spanish Modelo 390 module, which contains an organization level dataset:

1. Inside 3.0MP18.1, install the Spanish Modelo 390 module
2. Create a new client using the Initial Client Setup and select the Spanish Taxes dataset
3. Log into the new client and run an Initial Org Setup. Select the 390 dataset and create it. It works fine (237 rows inserted)
4. Repeat step 3 with other organization. The number of rows inserted should be the same as in the previous step, but it's 0.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0023801 closedAugustoMauch XML REST Webservices identifier property is not working 

-  Notes
hgbot (developer)
2013-01-10 15:51

Repository: erp/devel/pi
Changeset: 8525372a1fce7047ee3baead23e1ddfc208b6dd9
Author: Augusto Mauch <augusto.mauch <at>>
Date: Thu Jan 10 15:50:42 2013 +0100
URL: [^]

Fixes issue 22738: Enables applying the same dataset to different organizations

The getOrgIds nethod of the EntityResolver class has been backed out to the version before the changeset that causes the regression.

Now when the EntityResolver is used from the DAL webservices, it will not try to look for the translated IDs, it will just try to get the item with DAL,using DALs client and organization checks.

M src/org/openbravo/dal/xml/
M src/org/openbravo/service/rest/

- Issue History
Date Modified Username Field Change
2013-01-08 13:30 vmromanos New Issue
2013-01-08 13:30 vmromanos Assigned To => dmiguelez
2013-01-08 13:30 vmromanos Modules => Core
2013-01-08 13:30 vmromanos Triggers an Emergency Pack => No
2013-01-08 13:31 vmromanos Triggers an Emergency Pack No => Yes
2013-01-10 10:59 mirurita Regression level => Production - Confirmed Stable
2013-01-10 10:59 mirurita Regression date => 2012-09-26
2013-01-10 10:59 mirurita Regression introduced by commit => [^]
2013-01-10 12:48 priyam Issue Monitored: priyam
2013-01-10 15:51 hgbot Checkin
2013-01-10 15:51 hgbot Note Added: 0055464
2013-01-10 15:51 hgbot Status new => resolved
2013-01-10 15:51 hgbot Resolution open => fixed
2013-01-10 15:51 hgbot Fixed in SCM revision => [^]
2013-01-10 18:15 marvintm Review Assigned To => marvintm
2013-01-10 18:15 marvintm Status resolved => closed
2013-05-13 15:52 AugustoMauch Relationship added related to 0023801

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker