Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013807 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 01. General setup | minor | have not tried | 2010-06-28 14:45 | 2012-04-25 16:56 | |||
Reporter | roklenardic | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP11 | |||
Status | closed | Fix in branch | Fixed in SCM revision | cdf58b092e9b | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP18 | 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 | 0013807: Preferences tied to a module | |||||||
Description | There should be a validation that checks that a preference linked to a module should not be linked to any client, organization, module or user. Currently, the system allows the user to select any combination of them. For example: A preference created within a specific client, also has the Module dropdown automatically selected so when packaging the module, this client preference also gets included inside a module. The problem occurs upon module installation on another computer. Because the module includes a client preference, the preference cannot be inserted because the client does not exist yet. And the client cannot be imported before the module is installed that creates some new fields that are referenced within client_data.xml | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0047433) migueldejuana (viewer) 2012-04-10 17:06 |
Test Plan: - Open Preference window. - Try to create a preference with a module and visibility. (Error) - Try to create a preference without module and visibility.(Ok) - Try to create a preference with a module and without visibility. (Ok) This fix should not be risky. |
(0047437) hgbot (developer) 2012-04-10 17:38 |
Repository: erp/devel/pi Changeset: 3e22489cd4898aeb04182a7b115cef6b47e0051d Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue Apr 10 17:29:34 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3e22489cd4898aeb04182a7b115cef6b47e0051d [^] Fixed issue 13807: can't create preference for a module and restrict visibility You cannot create a preference for a module and restrict its visibility at client, organization, role or user level. A constraint has been created to filter this. --- M src-db/database/model/tables/AD_PREFERENCE.xml M src-db/database/sourcedata/AD_MESSAGE.xml --- |
(0047453) hgbot (developer) 2012-04-11 09:21 |
Repository: erp/devel/pi Changeset: 3ed91606cbaeb7d29cf9ddfff4cbcaa81daffabe Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Apr 11 09:13:34 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3ed91606cbaeb7d29cf9ddfff4cbcaa81daffabe [^] related to issue 13807: backed out previous changeset Build failed http://builds.openbravo.com/job/int-api/2906/console [^] , inconsistent data because the new check constraint. Backed out changeset 3e22489cd489 --- M src-db/database/model/tables/AD_PREFERENCE.xml M src-db/database/sourcedata/AD_MESSAGE.xml --- |
(0047490) hgbot (developer) 2012-04-11 17:36 |
Repository: erp/devel/pi Changeset: cdf58b092e9bb0ab8dbd7daba9c5a1d3f365848a Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Apr 11 17:32:35 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/cdf58b092e9bb0ab8dbd7daba9c5a1d3f365848a [^] Fixed issue 13807: can't create preference for a module and restrict visibility You cannot create a preference for a module and restrict its visibility at client, organization, role or user level lower than System. --- M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_VAL_RULE.xml --- |
(0047621) hudsonbot (viewer) 2012-04-17 05:31 |
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/cedf57621434 [^] Maturity status: Test |
(0047624) hudsonbot (viewer) 2012-04-17 05:31 |
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/cedf57621434 [^] Maturity status: Test |
(0047629) hudsonbot (viewer) 2012-04-17 05:31 |
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/cedf57621434 [^] Maturity status: Test |
(0047965) marvintm (viewer) 2012-04-25 16:56 |
After the validations have been added, if a preference has a module associated with it, the only valid client, org, role and user level will be the "system" ones (System admin role, Openbravo user, Client 0, and org *), which is correct because those exist in all Openbravo instances. |
![]() |
|||
Date Modified | Username | Field | Change |
2010-06-28 14:45 | roklenardic | New Issue | |
2010-06-28 14:45 | roklenardic | Assigned To | => adrianromero |
2010-06-28 14:45 | roklenardic | OBNetwork customer | => No |
2011-06-03 10:59 | dalsasua | Assigned To | adrianromero => dalsasua |
2011-07-20 18:12 | dalsasua | Assigned To | dalsasua => jonalegriaesarte |
2012-02-15 19:05 | iciordia | Assigned To | jonalegriaesarte => vmromanos |
2012-03-26 13:51 | vmromanos | Assigned To | vmromanos => alostale |
2012-03-26 15:08 | alostale | Assigned To | alostale => migueldejuana |
2012-04-10 17:06 | migueldejuana | Note Added: 0047433 | |
2012-04-10 17:38 | hgbot | Checkin | |
2012-04-10 17:38 | hgbot | Note Added: 0047437 | |
2012-04-10 17:38 | hgbot | Status | new => resolved |
2012-04-10 17:38 | hgbot | Resolution | open => fixed |
2012-04-10 17:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3e22489cd4898aeb04182a7b115cef6b47e0051d [^] |
2012-04-11 09:21 | hgbot | Checkin | |
2012-04-11 09:21 | hgbot | Note Added: 0047453 | |
2012-04-11 09:25 | migueldejuana | Note Added: 0047455 | |
2012-04-11 09:25 | migueldejuana | Status | resolved => new |
2012-04-11 09:25 | migueldejuana | Resolution | fixed => open |
2012-04-11 13:48 | migueldejuana | Note Deleted: 0047455 | |
2012-04-11 17:36 | hgbot | Checkin | |
2012-04-11 17:36 | hgbot | Note Added: 0047490 | |
2012-04-11 17:36 | hgbot | Status | new => resolved |
2012-04-11 17:36 | hgbot | Resolution | open => fixed |
2012-04-11 17:36 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/3e22489cd4898aeb04182a7b115cef6b47e0051d [^] => http://code.openbravo.com/erp/devel/pi/rev/cdf58b092e9bb0ab8dbd7daba9c5a1d3f365848a [^] |
2012-04-17 05:31 | hudsonbot | Checkin | |
2012-04-17 05:31 | hudsonbot | Note Added: 0047621 | |
2012-04-17 05:31 | hudsonbot | Checkin | |
2012-04-17 05:31 | hudsonbot | Note Added: 0047624 | |
2012-04-17 05:31 | hudsonbot | Checkin | |
2012-04-17 05:31 | hudsonbot | Note Added: 0047629 | |
2012-04-25 16:56 | marvintm | Note Added: 0047965 | |
2012-04-25 16:56 | marvintm | Status | resolved => closed |
2012-04-25 16:56 | marvintm | Fixed in Version | => 3.0MP11 |
Copyright © 2000 - 2009 MantisBT Group |