Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018474Openbravo ERP01. General setuppublic2011-09-08 16:322011-10-12 01:59
malsasua 
jecharri 
urgentmajoralways
closedfixed 
20Community Appliance
3.0MP2 
 
Google Chrome
Core
No
0018474: sequence number is reset when a dataset include a sequence with the same name
if you have in your enviroment a sequence (created manually) and you apply a new dataset that it contains a sequence with the same name , the numeric of original sequence is reset
. create a new sequence with name "testSequence"
. change the value of sequence to 1000111
. apply the dataset of file attached
. the value of sequence "testSequence" has been reset to 1000000
No tags attached.
depends on backport 00184752.50MP35 closed jecharri sequence number is reset when a dataset include a sequence with the same name 
xml test.xml (643) 2011-09-08 16:32
https://issues.openbravo.com/file_download.php?file_id=4527&type=bug
Issue History
2011-09-08 16:32malsasuaNew Issue
2011-09-08 16:32malsasuaAssigned To => jonalegriaesarte
2011-09-08 16:32malsasuaFile Added: test.xml
2011-09-08 16:32malsasuaWeb browser => Google Chrome
2011-09-08 16:32malsasuaModules => Core
2011-09-08 16:32malsasuaResolution time => 1318284000
2011-09-08 16:33malsasuaIssue Monitored: networkb
2011-09-08 16:33malsasuaStatusnew => scheduled
2011-09-08 16:33malsasuafix_in_branch => pi
2011-09-12 17:06jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2011-09-19 18:36jecharriNote Added: 0041089
2011-09-19 18:36jecharriStatusscheduled => feedback
2011-09-30 12:43hgbotCheckin
2011-09-30 12:43hgbotNote Added: 0041408
2011-09-30 12:43hgbotStatusfeedback => resolved
2011-09-30 12:43hgbotResolutionopen => fixed
2011-09-30 12:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/32831d5765d1811b3402eb54613a9de02c07d964 [^]
2011-10-03 13:20malsasuaNote Added: 0041461
2011-10-03 13:20malsasuaStatusresolved => closed
2011-10-12 01:59hudsonbotCheckin
2011-10-12 01:59hudsonbotNote Added: 0041731

Notes
(0041089)
jecharri   
2011-09-19 18:36   
I have created one client without any dataset applied and after that, I have created the sequence AR Invoice.
In the next step I try to apply the core dataset (it has contain the sequence with AR Invoice name), and system can't apply becasue I have created first the AR Invoice Sequence and it has different ID.
(0041408)
hgbot   
2011-09-30 12:43   
Repository: erp/devel/pi
Changeset: 32831d5765d1811b3402eb54613a9de02c07d964
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Sep 30 12:31:24 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/32831d5765d1811b3402eb54613a9de02c07d964 [^]

Fixes issue 18474: sequence number is reset when a dataset include a sequence with the same name

---
M src/org/openbravo/dal/xml/BaseXMLEntityConverter.java
---
(0041461)
malsasua   
2011-10-03 13:20   
verified
(0041731)
hudsonbot   
2011-10-12 01:59   
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/9bd2b5c2d982 [^]

Maturity status: Test