Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0008153 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | always | 2009-03-17 14:53 | 2009-04-22 00:01 | |||
| Reporter | rafaroda | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | 2.50 | |||
| Status | closed | Fix in branch | pi | Fixed in SCM revision | 8137e5253e15 | |||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_11 | |||
| OS Version | rPath Linux | Database version | 8.3.5 | Ant version | 1.7.1 | |||
| 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 | 0008153: Synchronize Terminology should not update ad_column.name in pi | |||||||
| Description | Synchronize Terminology should not update ad_column.name in pi since it can cause several issues in sample data. See the change of an element name + synchronize terminology (changing ad_field.name + ad_column.name) [1] causing issues in sample data [2]. [1] https://code.openbravo.com/erp/devel/pi/rev/11d4a5269853a8bbb7a7e1cc51129ca86a42f9e7 [^] [2] https://code.openbravo.com/erp/devel/pi/rev/9f2eafe970eb [^] | |||||||
| Steps To Reproduce | 1) As System Administrator, go to 'Application Dictionary || Setup || Element' 2) Change 'Business Partner' record to 'Partner' 4) Run Synchronize Terminology process (Application Dictionary || Synchronize Terminology) 5) ant export.database.data Everything OK until here: AD_ELEMENT, AD_COLUMN and AD_FIELD inside src-db/database/sourcedata have been changed. 6) ant export.sample.data You will see a lot changes in referencedata/sampledata which one does not expected to happen (because the modification has been done to metadata) | |||||||
| Proposed Solution | 1) Synchronize Terminology should not update ad_column.name in pi 2) Should not be easy to modify ad_column.name | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0014824) mtaal (viewer) 2009-03-20 16:57 |
Remark from Ismael: Synchronize terminology should modify ad_column.name only first time, when the ad_element is assigned to the column but not later. Asier will take care of this. |
|
(0014844) hgbot (developer) 2009-03-23 10:01 |
Repository: erp/devel/pi Changeset: 8137e5253e158f4bea680d76be7fd8d1dc283bcc Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Mon Mar 23 10:00:53 2009 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/8137e5253e158f4bea680d76be7fd8d1dc283bcc [^] fixed bug 0008153: Synchronize Terminology should not update ad_column.name in pi --- M src-db/database/model/functions/AD_SYNCHRONIZE.xml M src-db/database/model/triggers/AD_ELEMENT_TRG.xml --- |
|
(0014899) jayakumar (viewer) 2009-03-24 14:01 |
If We have fixed in Element (Application Dictionary || Setup || Element || Element ), it was been changed automatically in ad_column and ad_field by Synchronize Terminology process earlier. So the changes was reflect in ad_element, ad_column and ad_field. Now it did not work that way. Its only changed on AD_Element now. Its not changed in AD_COLUMN and AD_FIELD now by Synchronize Terminology Process. It is different from earlier behavior. Could you please advice? |
|
(0015216) rafaroda (viewer) 2009-04-06 11:42 |
Hi Jay, The fix worked for me following the steps described: no changes in AD_COLUMN nor in SmallBazaar.xml were done. Regards. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-03-17 14:53 | rafaroda | New Issue | |
| 2009-03-17 14:53 | rafaroda | Assigned To | => mtaal |
| 2009-03-17 14:53 | rafaroda | OBNetwork customer | => No |
| 2009-03-17 14:53 | rafaroda | Regression testing | => No |
| 2009-03-17 14:54 | rafaroda | Status | new => scheduled |
| 2009-03-17 14:54 | rafaroda | fix_in_branch | => pi |
| 2009-03-20 16:57 | mtaal | Note Added: 0014824 | |
| 2009-03-20 16:58 | mtaal | Assigned To | mtaal => alostale |
| 2009-03-23 10:01 | hgbot | Checkin | |
| 2009-03-23 10:01 | hgbot | Note Added: 0014844 | |
| 2009-03-23 10:01 | hgbot | Status | scheduled => resolved |
| 2009-03-23 10:01 | hgbot | Resolution | open => fixed |
| 2009-03-23 10:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8137e5253e158f4bea680d76be7fd8d1dc283bcc [^] |
| 2009-03-24 14:01 | jayakumar | Note Added: 0014899 | |
| 2009-04-06 11:42 | rafaroda | Note Added: 0015216 | |
| 2009-04-21 10:32 | psarobe | Status | resolved => closed |
| 2009-04-22 00:01 | anonymous | sf_bug_id | 0 => 2778080 |
| Copyright © 2000 - 2009 MantisBT Group |