Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0007865 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2009-02-27 11:25 | 2009-04-22 00:01 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | rafaroda | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 2.50 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | f67593555336 | |||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0007865: Import client should also convert the name of the Role and Warehouse | |||||||
Description | See this email conversation: Fully agree, for both Role and Warehouse Ismael -----Mensaje original----- De: Martin Taal [mailto:martin.taal@openbravo.com] Enviado el: lunes, 23 de febrero de 2009 10:13 Para: Ismael Ciordia, Openbravo CC: rok.lenardic@openbravo.com; Renate Nieuwkoop Asunto: Re: import client Hi Ismael, See below. I think we discussed this. Currently the logic works differently for different entities: 1- the new client name is pre/appended to the name of the entity, or 2- if the old client name is present in the name of the entity then it is replaced with the new client name (so if the client name is A and the role is called A_role1, the new client is B then the new role name will be B_role1) Here is the description per entity: - Client: gets the new name - Role: uses approach 2 - User: first 2 or if the old client name is not present then approach 1 is followed - Organization: approach 2 - Warehouse: approach 2 To solve the issue below mentioned by Rok, I would say that also for Role we should use the same approach as for User: so first try approach 2 and then approach 1. Maybe the same for warehouse. Let me know your thoughts. (the change is small, although the test takes an hour or so). gr. Martin Rok Lenardic wrote: > > Hey Martin, > > > > since export/import replaces the copy client process which is a crucial > > process for us in training to copy bigbazaar 10 times for 10 students > > for example, we are missing one function. If I rename BigBazaar.xml into > > Company01.xml and then import it, the process is successful, however, > > the problem occurs with roles, my Openbravo user now has access to twice > > as many roles with the same name, each role gets duplicated. > > previously, the copy client prefixed copied roles with client name, so > > the Openbravo Admin role became Company01_Openbravo Admin role, etc. > > > > Now when I switch role i see two identical Openbravo Admin roles and I > > can't distiguish which one is which. see what i mean? > > > > can you think of a solution to this? maybe a parameter to the Import > > Client such as a 'Duplicate Client' checkbox that would then take care > > of prefixing roles with client name? > > > > Cheers > > Rok > > > > > > | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0014373) hgbot (developer) 2009-03-04 09:45 |
Repository: erp/devel/pi Changeset: f67593555336d41084d811f993c5ee64f7f896b5 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Wed Mar 04 09:42:25 2009 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/f67593555336d41084d811f993c5ee64f7f896b5 [^] Fixes issue 7865, Import client should also convert the name of the Role and Warehouse --- M src/org/openbravo/service/db/ClientImportProcessor.java M src/org/openbravo/service/db/DataImportService.java --- |
(0014906) roklenardic (viewer) 2009-03-24 16:37 |
This issue has not been solved for 2.50beta which is of the utmost importance for training. It needs to be backported to 2.50. |
(0014907) roklenardic (viewer) 2009-03-24 16:42 |
This issue has not been backported to 2.50 beta and is very important for training. |
(0015076) psarobe (viewer) 2009-03-30 19:40 |
Rock, There is no backport for 250beta you will need to take the fix from pi and apply it to your working copy. Please ask Martin for the diff |
![]() |
|||
Date Modified | Username | Field | Change |
2009-02-27 11:25 | mtaal | New Issue | |
2009-02-27 11:25 | mtaal | Assigned To | => mtaal |
2009-02-27 11:25 | mtaal | OBNetwork customer | => No |
2009-02-27 11:25 | mtaal | Regression testing | => No |
2009-03-03 13:28 | rafaroda | Status | new => scheduled |
2009-03-03 13:28 | rafaroda | fix_in_branch | => trunk |
2009-03-04 09:45 | hgbot | Checkin | |
2009-03-04 09:45 | hgbot | Note Added: 0014373 | |
2009-03-04 09:45 | hgbot | Status | scheduled => resolved |
2009-03-04 09:45 | hgbot | Resolution | open => fixed |
2009-03-04 09:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f67593555336d41084d811f993c5ee64f7f896b5 [^] |
2009-03-24 16:37 | roklenardic | Note Added: 0014906 | |
2009-03-24 16:42 | roklenardic | Assigned To | mtaal => rafaroda |
2009-03-24 16:42 | roklenardic | Status | resolved => new |
2009-03-24 16:42 | roklenardic | Resolution | fixed => open |
2009-03-24 16:42 | roklenardic | Note Added: 0014907 | |
2009-03-30 19:40 | psarobe | Note Added: 0015076 | |
2009-03-30 19:40 | psarobe | Status | new => scheduled |
2009-03-30 19:40 | psarobe | Status | scheduled => resolved |
2009-03-30 19:40 | psarobe | Resolution | open => fixed |
2009-04-21 10:53 | psarobe | Status | resolved => closed |
2009-04-22 00:01 | anonymous | sf_bug_id | 0 => 2778033 |
Copyright © 2000 - 2009 MantisBT Group |