View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
08060Bug reportsTheme editorpublic2013-10-11 11:08
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05 RC 
Fixed in Version2.05 RC 
Summary08060: CRSF issue when trying to copy a template
Description

Renaming of template can not be done with CRSF

Steps To Reproduce

Click on copy template, put a good name and try

Additional Information

/index.php?r=admin/templates/sa/templatecopy
give:
Bad Request
The CSRF token could not be verified.

The request could not be understood by the server due to malformed syntax. Please do not repeat the request without modifications.

If you think this is a server error, please contact the webmaster.

Think : best is to create a little form to copy (and rename) like upload
Use a clean link to rename/copy

Maybe we can add this little form in a ajax box after (same for upload)

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)130731
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 08230 closedDenisChenu Can't save a label set 
has duplicate 08153 closedDenisChenu error: Bad Request The CSRF token could not be verified. when copying a template 
related to 08033 closedkfegert since enable CSRF protection: Cannot access advanced question attributes 
related to 08034 closed Error: The CSRF token could not be verified. 
related to 08099 closedDenisChenu Cannot save label sets 
related to 08196 closedDenisChenu Deletion of Token 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-09-24 16:06

developer   ~26358

Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13053

c_schmitz

c_schmitz

2013-10-11 11:08

administrator   ~26699

2.05RC2 released

Related Changesets

LimeSurvey: 2.05 6a2d46e5

2013-09-24 14:04:56

DenisChenu

Details Diff
Fixed issue 08060: CRSF issue when trying to copy or rename a template
Dev: Move sendPost frome endScript HTML to admin_core.js and adding csrfToken in most situation
Dev: not for ajax request
Affected Issues
08060, 08230
mod - application/views/admin/endScripts_view.php Diff File
mod - scripts/admin/admin_core.js Diff File

Issue History

Date Modified Username Field Change
2013-07-31 00:26 DenisChenu New Issue
2013-07-31 00:35 mfaber Relationship added related to 08033
2013-07-31 00:36 mfaber Relationship added related to 08034
2013-08-16 11:14 sammousa Assigned To => sammousa
2013-08-16 11:14 sammousa Status new => confirmed
2013-08-21 09:37 DenisChenu Relationship added related to 08099
2013-09-24 15:17 DenisChenu Assigned To sammousa => DenisChenu
2013-09-24 15:17 DenisChenu Status confirmed => assigned
2013-09-24 16:06 DenisChenu Changeset attached => LimeSurvey 2.05 6a2d46e5
2013-09-24 16:06 DenisChenu Note Added: 26358
2013-09-24 16:06 DenisChenu Resolution open => fixed
2013-09-24 16:06 DenisChenu Status assigned => resolved
2013-09-24 16:06 DenisChenu Fixed in Version => 2.05 RC
2013-09-28 09:13 DenisChenu Relationship added related to 08196
2013-10-03 14:52 DenisChenu Relationship added has duplicate 08153
2013-10-04 16:05 DenisChenu Relationship added related to 08230
2013-10-11 11:08 c_schmitz Note Added: 26699
2013-10-11 11:08 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor