Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008442Openbravo ERPC. Securitypublic2009-04-06 06:522009-04-29 00:00
RenateNieuwkoop 
mtaal 
normalmajoralways
closedfixed 
5
2.50beta 
2.50MP1 
Core
No
0008442: 2.50 beta Training: can not save to Main org for imported Client
I imported a new Client, Company 10, and with the Admin role of that Company I created a user and login.

When logging in with user10 for Company 10, I can not save anything to the Main organization, just to *. With Openbravo/openbravo I can save to Main without problems.

See snapshot
See above, try for example to add a new product to Main organization. The message appears that new data were saved, yet the asterix is still next to the pencil and when you navigate to the grid it appears that nothing was actually saved to the Main organization.
main
jpg 060409ProblemsavingforCopyClient.jpg (130,530) 2009-04-06 06:52
https://issues.openbravo.com/file_download.php?file_id=1129&type=bug
jpg
Issue History
2009-04-06 06:52RenateNieuwkoopNew Issue
2009-04-06 06:52RenateNieuwkoopAssigned To => rafaroda
2009-04-06 06:52RenateNieuwkoopFile Added: 060409ProblemsavingforCopyClient.jpg
2009-04-06 07:08roklenardicNote Added: 0015209
2009-04-06 07:08roklenardicIssue Monitored: roklenardic
2009-04-07 11:16mtaalAssigned Torafaroda => mtaal
2009-04-07 11:19hgbotCheckin
2009-04-07 11:19hgbotNote Added: 0015247
2009-04-07 11:19hgbotStatusnew => resolved
2009-04-07 11:19hgbotResolutionopen => fixed
2009-04-07 11:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/152f2de78d13833e6b4b19060b31275994907fe2 [^]
2009-04-22 11:23psarobeTag Attached: main
2009-04-28 20:08psarobeRegression testing => No
2009-04-28 20:08psarobeStatusresolved => closed
2009-04-29 00:00anonymoussf_bug_id0 => 2783259

Notes
(0015209)
roklenardic   
2009-04-06 07:08   
To reproduce the error,
1) copy SmallBazaar.xml to importclient/Company10.xml and then import it from within the application.
2) Switch to Company10_Admin role
3) navigate to MRP || Setup || Planner
4) create a new record with Name = John
5) Notice that Main organization is selected
6) try to save (no success)
7) enter a new record, this time changing the ORganization to *
8) enter John as the name again and this time you should be able to save.

Same happens to Planning Method window. There might be more windows with this issue.
(0015247)
hgbot   
2009-04-07 11:19   
Repository: erp/devel/pi
Changeset: 152f2de78d13833e6b4b19060b31275994907fe2
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Apr 07 11:16:42 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/152f2de78d13833e6b4b19060b31275994907fe2 [^]

Fixes issue 8442: 2.50 beta Training: can not save to Main org for imported Client

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/dal/core/DalMappingGenerator.java
M src/org/openbravo/dal/core/SessionHandler.java
M src/org/openbravo/service/db/DataImportService.java
---