desktop-eclipse
Issue ID artf206: Unable set flex field values to "None"

ID Type Last date/time modified Date/time created Created by
artf206 Issue 2010-07-02 02:35:51 PDT 2010-05-07 12:29:40 PDT Baybora Aksoy (baybora)

Top Issue submission information

Summary Unable set flex field values to "None"
Description I just noticed that it is not possible (anymore) to set artifact flex field values to “None”.
The reason:
Desktops are implemented with this assumption:
Flex field absence in ArtifactSoapDO.flexfields = “None”.

So, when a flex field is set to “none” in desktops, it is removed from the ArtifactSoapDO’s flexfield list.
Obviously, this assumption is not true anymore (as of Soap API 5.3). Server does not update the field value, if it does not exist in ArtifactSoapDO.flexfields list.
Issue type Defect
Component TeamForge
Priority P1
Version 2.0.0

Top Issue tracking information

Status Completed
Target milestone 2.2.0

Top User attributes

Assigned to
Username Name
baybora Baybora Aksoy
Carbon copy
Username Name
karthikeyan_ct (disabled) karthikeyan c thankappan
markphip Mark Phippard
prabhugs (disabled) Prabhu Gandhiraman Sarathy
rajeswari rajeswari kannan
selsemore Stephen Elsemore

Top Attachments (1)

Name Description Type Created by Creation date
ARTF206.JPG able to set none to flex fields image/jpeg Prabhu Gandhiraman Sarathy 2010-07-02 02:35:51 PDT

Top Related links (0)

Top Related artifacts (0)

Top Comments (3)

2010-07-02 02:35:51 PDT | Added by: Prabhu Gandhiraman Sarathy

Box: https://cu125.cubit.sp.collab.net
Version: 5.4.0.0.201
Collabnet Eclipse Desktop Version: 2.1.1
Eclipse version: 3.4.2
Machine: 10.2.0.88

I have verified this issue.
Able to set NONE to flex fields.

2010-05-07 12:39:04 PDT | Added by: Baybora Aksoy

fix is imlemented to set flex field value to "", when "None" is selected for all servers. Tested on TF 4.4, 5.2, 5.4.

2010-05-07 12:37:05 PDT | Added by: Baybora Aksoy

Automated Comment. Version control commit message.
Revision: 1353
http://desktop-eclipse.open.collab.net/source/browse/desktop-eclipse?view=rev&revision=1353&pathrev=1353

artf206 - include flex fields on artifact submit even if they are set to be "None".



Modified
File: trunk/plugins/com.collabnet.ee.tracker.core/src/com/collabnet/ee/tracker/core/TrackerArtifactUtil.java