2 Replies Last post: Oct 31, 2008 2:28 PM by Derwyn Harris  
Chris Callan   88 posts since
Oct 16, 2007
Currently Being Moderated

Oct 31, 2008 10:03 AM

Can't import into items that have read-only date fields

     One of my Contour users was having an issue getting test cases to import from a csv file in our test environment (v 2.4.3), where clicking the "Import" button didn't do anything.  Easy enough to repro the issue, but I found that it wasn't across projects, and after some more debugging I found that different item types in the same project had no issues.  I did notice an odd error occuring in FireFox's ErrorConsole about invalid values from a getValue() method call in jx.js (line 9509), which was contain inside a check for "if(meta.dataType==Date||meta.dataType=="date")...".  Not until I added the read-only flag to the CreatedDate or ModifiedDate fields did I receive the error on the item that previously had no issues importing the items.

 

Steps to Reproduce:

Prerequisite: basic item type setup with CreatedDate field set to read-only;

 

1) Login to Contour

2) Select Project -> Import -> CSV

3) Select the item type you setup in the prerequisites

4) Click the Browse button and select the file attached to this discussion

5) Enter the value '1' for the Short Name field

6) Click the Import button

 

Actual Result: nothing happens (although you can check FireFox's ErrorConsole and you'll see the failed method call);

Expected Result: the file should be imported and CreatedDate/ModifiedDate should be filled with the requisite information, thereafter presenting it read-only to the users;

Attachments:
Derwyn Harris   178 posts since
Jun 11, 2007
Currently Being Moderated
1. Oct 31, 2008 11:16 AM in response to: Chris Callan
Re: Can't import into items that have read-only date fields

This is a known issue that has been fixed but not released. There is a work around as you have found already. We will push a new release with this fix in the next couple of days. (2.4.4)

Derwyn Harris   178 posts since
Jun 11, 2007
Currently Being Moderated
2. Oct 31, 2008 2:28 PM in response to: Derwyn Harris
Re: Can't import into items that have read-only date fields

We have released 2.4.4 which addresses this issue.Contour Roadmap - What's coming next?

More Like This

  • Retrieving data ...