View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
04931Bug reportsTheme editorpublic2011-04-11 11:30
ReporterMazi Assigned Toc_schmitz  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version1.91RC3 
Target Version1.91RC4Fixed in Version1.91RC6 
Summary04931: GSoC - Boilerplate question are always marked as mandatory (red asterix).
Description

When showing a boilerplate question using the default template it always shows the red asterix in frnt of it, even though this question can never be mandatory and you cannot set it to "not mandatory" at the admin backend.

Steps To Reproduce

Create a survey with a questuion of type boilerplate and test/preview.

Additional Information

This might cause problems at other/all templates!?

TagsNo tags attached.
Attached Files
Untitled-1.png (3,953 bytes)   
Untitled-1.png (3,953 bytes)   
boiler_mand.PNG (5,981 bytes)   
boiler_mand.PNG (5,981 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)9715
I will donate to the project if issue is resolvedNo
BrowserFirefox 3.6
Database type & versionMySQL 5
Server OS (if known)Win 7
Webserver software & version (if known)Apache 2.2
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

tpartner

tpartner

2011-02-06 13:48

partner   ~14061

Mazi, I can't reproduce this in IE or Firefox - see my screenshot.

Mazi

Mazi

2011-02-06 14:38

updater   ~14065

That is strange, have a look at my screenshot.

Some more details:
Version 1.90 build 9642
Firefox 3.6
1.80 sample survey

-> I used the question preview, maybe that is the difference?

tpartner

tpartner

2011-02-06 15:11

partner   ~14066

Oh, I read 1.91RC3 above. can you test there?

Mazi

Mazi

2011-02-06 16:29

updater   ~14067

Same problem at question preview (using default template) at 1.90 RC3.

mdekker

mdekker

2011-02-07 11:02

reporter   ~14073

boilerplate hides the mandatory selection in question edit... and it defaults to yes but because of hiding you cannot change it.

It's in admin\questionhandling.php line 817

tpartner

tpartner

2011-02-11 14:03

partner   ~14147

I still cannot reproduce this with 1.91RC3 (6766). I have tried the "Sample LimeSurvey Survey for v1.9" and a new test survey. Mazi, can you please attach the survey you are using?

Mazi

Mazi

2011-02-12 00:17

updater   ~14167

I was using the "Sample Survey for v1.8 (all questions plus most options)" version which In just attached.
See "Mask questions" group, question "Type X - Boilerplate question".

The red asteric is shown at:

  • inactive survey
  • active survey
  • question preview
  • group preview
tpartner

tpartner

2011-02-25 19:26

partner   ~14287

Carsten, do you want to pick this one up as we discussed in the meeting a few weeks ago? It occurs when a mandatory question was previously something other than a boilerplate and then changed to boilerplate type.

c_schmitz

c_schmitz

2011-04-11 11:30

administrator   ~14768

1.91RC6 released.

Issue History

Date Modified Username Field Change
2011-02-04 16:39 Mazi New Issue
2011-02-04 16:39 Mazi Status new => assigned
2011-02-04 16:39 Mazi Assigned To => tpartner
2011-02-06 13:48 tpartner Note Added: 14061
2011-02-06 13:48 tpartner Status assigned => feedback
2011-02-06 13:49 tpartner File Added: Untitled-1.png
2011-02-06 14:37 Mazi File Added: boiler_mand.PNG
2011-02-06 14:38 Mazi Note Added: 14065
2011-02-06 14:38 Mazi Status feedback => assigned
2011-02-06 15:11 tpartner Note Added: 14066
2011-02-06 16:29 Mazi Note Added: 14067
2011-02-07 11:02 mdekker Note Added: 14073
2011-02-09 15:48 Mazi Summary Boilerplate question are always marked as mandatory (red asterix). => GSoC - Boilerplate question are always marked as mandatory (red asterix).
2011-02-11 14:03 tpartner Note Added: 14147
2011-02-12 00:17 Mazi Note Added: 14167
2011-02-12 00:18 Mazi File Added: limesurvey_survey_33447.lss
2011-02-25 19:25 tpartner Assigned To tpartner => c_schmitz
2011-02-25 19:26 tpartner Note Added: 14287
2011-03-21 22:59 c_schmitz Status assigned => resolved
2011-03-21 22:59 c_schmitz Fixed in Version => 1.91RC6
2011-03-21 22:59 c_schmitz Resolution open => fixed
2011-04-11 11:30 c_schmitz Note Added: 14768
2011-04-11 11:30 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor