Details
-
Bug
-
Resolution: Fixed
-
Low
-
3.9.3
-
None
-
Java Version 1.6.0
Java Vendor Sun Microsystems Inc.
JVM Version 1.0
JVM Vendor Sun Microsystems Inc.
JVM Implementation Version 1.6.0-b105
Java Runtime Java(TM) SE Runtime Environment
Java VM Java HotSpot(TM) Client VM
User Name SYSTEM
User Timezone America/Los_Angeles
User Locale English (United States)
System Encoding Cp1252
Operating System Windows 2003 5.2
OS Architecture x86
Application Server Container Apache Tomcat/5.5.20
Database type mssql
Database JNDI address java:comp/env/jdbc/JiraDS
Database URL jdbc:jtds:sqlserver://localhost:1433/jiradb
Database version 09.00.3042
Database driver jTDS Type 4 JDBC Driver for MS SQL Server and Sybase 1.2Java Version 1.6.0 Java Vendor Sun Microsystems Inc. JVM Version 1.0 JVM Vendor Sun Microsystems Inc. JVM Implementation Version 1.6.0-b105 Java Runtime Java(TM) SE Runtime Environment Java VM Java HotSpot(TM) Client VM User Name SYSTEM User Timezone America/Los_Angeles User Locale English (United States) System Encoding Cp1252 Operating System Windows 2003 5.2 OS Architecture x86 Application Server Container Apache Tomcat/5.5.20 Database type mssql Database JNDI address java:comp/env/jdbc/JiraDS Database URL jdbc:jtds:sqlserver://localhost:1433/jiradb Database version 09.00.3042 Database driver jTDS Type 4 JDBC Driver for MS SQL Server and Sybase 1.2
-
3.09
-
Description
Repro steps:
1) Create a bunch of versions
2) Iterate through them with SOAP or some other method that exposes the sequence numbers.
2a) Note that the sequence numbers are consecutive
3) Delete a version from the middle of the list
4) Repeat step 2
4a) Note that the sequence numbers skip the deleted version's number
When sequence numbers don't correspond to the actual array index, inserting new versions does not work as expected. The sequence as used by the SOAP method addVersion is the array index.
Expected result:
a) Deleting a version compacts the sequence numbers for versions past it
or
b) Inserting a version through SOAP uses the sequence fields rather than the array index
Attachments
Issue Links
- mentioned in
-
Page Loading...