View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06412Bug reportsImport/Exportpublic2012-08-16 10:23
Reporterabita1 Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC7 
Target Version2.00RC9Fixed in Version2.00RC9 
Summary06412: "SAVE" button appears when importing
Description

When importing, there is an "Import Survey" Button -- as should be...

However, when at that screen, there is also a "Save" button.

This button generates an error [looking for a non-existent title for a survey], and I'm guessing the button is not relevant in this screen.

This occurs in the 2 RC7, and the 192+ variant that is Tom's master from 7-26 [dated 7-20], so I assume it occurs on the 192+ trunk

Steps To Reproduce

Import button on top-line of program, then see the 'save' button...

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120725
I will donate to the project if issue is resolvedNo
BrowserFireFox 14
Database type & versionMySQL
Server OS (if known)Linux / Apache
Webserver software & version (if known)1.3.3
PHP Version5.2.17 without FastCGI

Users monitoring this issue

There are no users monitoring this issue.

Activities

sammousa

sammousa

2012-08-01 09:49

reporter   ~20096

It seems this 'bug' also occurs for the copy survey option..

Possible solutions are:

  1. Use js to hide the button when it is not applicable.
  2. Change the whole page to use 1 form instead of 3 and use one button.. (seems overly complicated)
  3. Remove the save button paragraph from the page and instead add it to each tab individually.

In my opinion solution 3 is the best one since it requires no extra scripting and duplicating a button shouldn't be too much work.

-- Feel free to assign this bug to me and i'll fix it for the Yii framework version...

Mazi

Mazi

2012-08-01 14:56

updater   ~20103

I can reproduce the problem and I agree to "and I'm guessing the button is not relevant in this screen".

A simple fix would be solution #1 suggested by sammousa while solution #3 seems to be the better approach.

Carsten, which solution do you prefer (assign the ticket to sammouse afterwards).

Thanks for offering your help, sammousa!

c_schmitz

c_schmitz

2012-08-05 18:36

administrator   ~20207

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

c_schmitz

c_schmitz

2012-08-16 10:23

administrator   ~20479

Version 2.00 RC 9 released.

Related Changesets

LimeSurvey: Yii 9351790f

2012-08-05 09:36:38

c_schmitz

Details Diff
Fixed issue 06412: "SAVE" button visible when importing Affected Issues
06412
mod - application/views/admin/responses/browseindex_view.php Diff File
mod - application/views/admin/survey/newSurvey_view.php Diff File
mod - application/views/admin/survey/subview/tab_view.php Diff File
mod - scripts/admin/surveysettings.js Diff File

Issue History

Date Modified Username Field Change
2012-08-01 04:45 abita1 New Issue
2012-08-01 09:49 sammousa Note Added: 20096
2012-08-01 14:56 Mazi Note Added: 20103
2012-08-01 14:56 Mazi Assigned To => c_schmitz
2012-08-01 14:56 Mazi Status new => assigned
2012-08-05 18:36 c_schmitz Status assigned => resolved
2012-08-05 18:36 c_schmitz Fixed in Version => 2.00+
2012-08-05 18:36 c_schmitz Resolution open => fixed
2012-08-05 18:36 c_schmitz Changeset attached => LimeSurvey Yii 9351790f
2012-08-05 18:36 c_schmitz Note Added: 20207
2012-08-12 15:32 c_schmitz Fixed in Version 2.00+ => 2.00RC9
2012-08-15 00:22 c_schmitz Target Version => 2.00RC9
2012-08-16 10:23 c_schmitz Note Added: 20479
2012-08-16 10:23 c_schmitz Status resolved => closed