View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08263Bug reportsComfortUpdatepublic2013-10-22 15:33
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Target Version2.00+Fixed in Version2.00+ 
Summary08263: Admin whith ability to update can not update
Description

Auto update send Error even if able to auto update

Steps To Reproduce

Don't know exact step to reproduce here.
But for this server: is user try to update:
Error : PCLZIP_ERR_WRITE_OPEN_FAIL (-1) : Unable to open temporary file 'pclzip-5254328842658.gz' in binary write mode

And die.

This is because user can backup SQL: then the sql backup file are not here when PCLZIP want to compress.

Additional Information

Just comment die("Error : ".$archive->errorInfo(true)); at line 282 of update.php is OK.
But need return information (mike pgSQL for example).

And what for line 262 ? Maybe don't die too : but here i think if there are an error then updating are not possible.

Even : we need to return information and don't die()

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)131011
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

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-10-11 13:05

developer   ~26725

Carsten : it's not really update.ls.org : you can give it back to me.

DenisChenu

DenisChenu

2013-10-20 19:36

developer   ~26852

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

DenisChenu

DenisChenu

2013-10-20 19:45

developer   ~26853

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

c_schmitz

c_schmitz

2013-10-22 15:33

administrator   ~26911

Version 2.00+ Build 131022 released.

Related Changesets

LimeSurvey: master 8c9302c1

2013-10-20 17:35:53

DenisChenu

Details Diff
Fixed issue 08263: Admin whith ability to update can not update
Dev: don't break on error
Dev: if there are an error in files backup : surely there are error at step4
Fixed issue: any user can update
Affected Issues
08263
mod - application/controllers/admin/checkintegrity.php Diff File
mod - application/controllers/admin/update.php Diff File
mod - application/views/admin/update/step3.php Diff File

LimeSurvey: 2.05 d94b0554

2013-10-20 17:45:40

DenisChenu

Details Diff
Fixed issue 08263: Admin whith ability to update can not update
Dev: don't break on error
Dev: if there are an error in files backup : surely there are error at step4
Fixed issue: any user can update
Affected Issues
08263
mod - application/controllers/admin/checkintegrity.php Diff File
mod - application/controllers/admin/update.php Diff File
mod - application/views/admin/update/step3.php Diff File

Issue History

Date Modified Username Field Change
2013-10-11 13:05 DenisChenu New Issue
2013-10-11 13:05 DenisChenu Status new => assigned
2013-10-11 13:05 DenisChenu Assigned To => c_schmitz
2013-10-11 13:05 DenisChenu Note Added: 26725
2013-10-20 01:16 c_schmitz Assigned To c_schmitz => DenisChenu
2013-10-20 14:04 DenisChenu Target Version => 2.00+
2013-10-20 19:36 DenisChenu Changeset attached => LimeSurvey master 8c9302c1
2013-10-20 19:36 DenisChenu Note Added: 26852
2013-10-20 19:36 DenisChenu Resolution open => fixed
2013-10-20 19:45 DenisChenu Changeset attached => LimeSurvey 2.05 d94b0554
2013-10-20 19:45 DenisChenu Note Added: 26853
2013-10-20 19:46 DenisChenu Status assigned => resolved
2013-10-20 19:46 DenisChenu Fixed in Version => 2.00+
2013-10-22 15:33 c_schmitz Note Added: 26911
2013-10-22 15:33 c_schmitz Status resolved => closed