Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
4.3, 4.3.3
-
Java Version 1.6.0_24
Java Vendor Sun Microsystems Inc.
JVM Version 1.0
JVM Vendor Sun Microsystems Inc.
JVM Implementation Version 19.1-b02
Java Runtime Java(TM) SE Runtime Environment
Java VM Java HotSpot(TM) Server VM
User Locale English (United States)
System Encoding UTF-8
Operating System Linux 2.6.38-8-generic-pae
OS Architecture i386
Application Server Container Apache Tomcat/6.0.20
Database type postgres72
Database JNDI address java:comp/env/jdbc/JiraDS
Database version 9.0.3
Database driver PostgreSQL Native Driver PostgreSQL 8.4 JDBC3 (build 701)
External user management OFF
Crowd integration ON
JIRA Info
Edition enterprise
Version 4.3
Build Number 614
Installation Type Standalone
Server ID A48Z-GOCC-YPXW-MTO4Java Version 1.6.0_24 Java Vendor Sun Microsystems Inc. JVM Version 1.0 JVM Vendor Sun Microsystems Inc. JVM Implementation Version 19.1-b02 Java Runtime Java(TM) SE Runtime Environment Java VM Java HotSpot(TM) Server VM User Locale English (United States) System Encoding UTF-8 Operating System Linux 2.6.38-8-generic-pae OS Architecture i386 Application Server Container Apache Tomcat/6.0.20 Database type postgres72 Database JNDI address java:comp/env/jdbc/JiraDS Database version 9.0.3 Database driver PostgreSQL Native Driver PostgreSQL 8.4 JDBC3 (build 701) External user management OFF Crowd integration ON JIRA Info Edition enterprise Version 4.3 Build Number 614 Installation Type Standalone Server ID A48Z-GOCC-YPXW-MTO4
-
4.03
-
1
-
Description
Symptoms
Please, check out this script:
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib"> <jira:CreateUser username="test001" password="test001" confirm="test001" fullname="test001" email="test001@example.com" /> <jira:RemoveUser name="test001" /> <jira:CreateUser username="test002" password="test002" confirm="test002" fullname="test002" email="test002@example.com" /> <jira:RemoveUser name="test002" /> </JiraJelly>
It's supposed to work like a charm, creating two new users and removing these soon after. However, it simply doesn't work. The first user is created and removed fine, but the second one is created but not removed. Also, the following exception is thrown on the screen:
There's no reference for this error.
Workaround
Change the order of the tags inside the script. Firstly, dispose all CreateUser tasks and only after the RemoveUser ones. Taking in consideration the sample above:
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib"> <jira:CreateUser username="test001" password="test001" confirm="test001" fullname="test001" email="test001@example.com" /> <jira:CreateUser username="test002" password="test002" confirm="test002" fullname="test002" email="test002@example.com" /> <jira:RemoveUser name="test001" /> <jira:RemoveUser name="test002" /> </JiraJelly>
Please, advice soon.