View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
12183Bug reportsSurvey editingpublic2017-03-10 18:03
ReporterDenisChenu Assigned Touser14106 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.64.x 
Fixed in Version2.64.x 
Summary12183: New quota : autoload_url to Yes by default
Description

With the new quota : auto load url is set to Yes by default

Steps To Reproduce

Create a new quota

Additional Information

I try
class Quota extends LSActiveRecord
{

/* Default attributes */
public $active=1;
public $autoload_url=0;

Yii way : didn't seem to work ??

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)2.64.1 170308
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionmysql 5
Server OS (if known)debian7
Webserver software & version (if known)apache
PHP VersionPHP Version 5.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2017-03-08 15:14

developer   ~43229

It's the real Yii Way : maybe yiiwheels.widgets.switch.WhSwitch is broken here ?????

user14106

2017-03-08 18:50

  ~43233

nothing broken :)
its just set in controller
https://github.com/LimeSurvey/LimeSurvey/blob/master/application/controllers/admin/quotas.php#L461

I'll fix it

user14106

2017-03-08 18:56

  ~43234

https://github.com/LimeSurvey/LimeSurvey/pull/657

DenisChenu

DenisChenu

2017-03-08 19:50

developer   ~43235

Last edited: 2017-03-08 19:51

Why adding const concept ? You think it can be easiest ?

And in fact ACTION_TERMINATE_WITH_WARNING is more ACTION_ALLOW_PREVIOUS

user70560

2017-03-09 18:14

  ~43244

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

c_schmitz

c_schmitz

2017-03-10 18:03

administrator   ~43254

New version released

Related Changesets

LimeSurvey: master 4205f163

2017-03-09 18:14:39

user14106


Committer: user70560 Details Diff
Fixed issue 12183: New quota : autoload_url to Yes by default (#657) Affected Issues
12183
mod - application/controllers/admin/quotas.php Diff File
mod - application/models/Quota.php Diff File
mod - application/views/admin/quotas/_form.php Diff File
mod - application/views/admin/quotas/viewquotas_quota_members.php Diff File

Issue History

Date Modified Username Field Change
2017-03-08 15:06 DenisChenu New Issue
2017-03-08 15:10 DenisChenu Assigned To => user14106
2017-03-08 15:10 DenisChenu Status new => assigned
2017-03-08 15:14 DenisChenu Note Added: 43229
2017-03-08 18:50 user14106 Note Added: 43233
2017-03-08 18:56 user14106 Note Added: 43234
2017-03-08 19:50 DenisChenu Note Added: 43235
2017-03-08 19:51 DenisChenu Note Edited: 43235
2017-03-09 18:14 user70560 Changeset attached => LimeSurvey master 4205f163
2017-03-09 18:14 user70560 Note Added: 43244
2017-03-09 18:14 user70560 Assigned To user14106 => user70560
2017-03-09 18:14 user70560 Resolution open => fixed
2017-03-09 18:18 DenisChenu Assigned To user70560 => user14106
2017-03-09 18:18 DenisChenu Status assigned => resolved
2017-03-09 18:18 DenisChenu Fixed in Version => 2.64.x
2017-03-10 18:03 c_schmitz Note Added: 43254
2017-03-10 18:03 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing