LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
04993Bug reports[All Projects] Import/Exportpublic2011-03-03 12:312011-03-10 12:28
Reporteryohann 
Assigned Tolemeur 
PrioritylowSeverityminor 
StatusclosedResolutionfixed 
Product Version1.91RC4 
Target VersionFixed in Version1.91RC5 
Summary04993: usesleft is not used during token importation
Descriptionthe number of uses left in the csv file isn't used during importation, whatever the number is in csv file, it will always be 1 in the token table after importation
Steps To Reproducecreate a survey and a token table
set usesleft of one or more token to 1000
export a csv file
check you have 1000 in the usesleft column of csv file
delete all token of your token table
import the csv file
you have only 1 usesleft
Additional Informationnone
I will donate to the project if issue is resolved within 48 hrsNo
LimeSurvey build number OR git commit ID9716
Browserfirefox
Database & DB-Version145
Operating System (Server)Linux (Ubuntu)
Webserver software & versionapache2
PHP Version5.3.3-1ubuntu9.3 with Suhosin-Patch (cli) (built: Jan 12 2011 16:08:14)
Attached Filespatch file icon importToken.patch [^] (659 bytes) 2011-03-03 14:40 [Show Content]

- Relationships

-  Notes
User avatar (14311)
yohann (reporter)
2011-03-03 14:42

Sorry i'm not sure how this bugtracker works but i send a patch (the header may be wrong..)
all it does is adding "usesleft" has a valid header for token csv.
this fixes the bug
cheers
yohann
User avatar (14319)
lemeur (administrator)
2011-03-07 18:13

Thx for the bug reprot and fix.
Applied to rev 9849 and 9850
User avatar (14380)
c_schmitz (administrator)
2011-03-10 12:28

1.91RC5 released.

- Issue History
Date Modified Username Field Change
2011-03-03 12:31 yohann New Issue
2011-03-03 14:40 yohann File Added: importToken.patch
2011-03-03 14:42 yohann Note Added: 14311
2011-03-07 16:55 Mazi Assigned To => lemeur
2011-03-07 16:55 Mazi Status new => assigned
2011-03-07 18:13 lemeur Note Added: 14319
2011-03-07 18:13 lemeur Status assigned => resolved
2011-03-07 18:13 lemeur Fixed in Version => 1.91RC5
2011-03-07 18:13 lemeur Resolution open => fixed
2011-03-10 12:28 c_schmitz Note Added: 14380
2011-03-10 12:28 c_schmitz Status resolved => closed


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker