Survey module 2.1.1 error

Moderator: crythias

Locked
sameer666
Znuny newbie
Posts: 12
Joined: 16 Feb 2012, 06:40
Znuny Version: 3.1
Real Name: sameer

Survey module 2.1.1 error

Post by sameer666 »

there is an error for edit question, the type is not correctly code
<select name="Type" id="Type"> <option value="YesNo" selected="selected">YesNo</option> <option value="Radio">Radio (List)</option> <option value="Checkbox">Checkbox (List)</option> <option value="Textarea">Textarea</option> </select>
Add

can some one guide how to fix it.
sameer666
Znuny newbie
Posts: 12
Joined: 16 Feb 2012, 06:40
Znuny Version: 3.1
Real Name: sameer

Re: Survey module 2.1.1 error

Post by sameer666 »

who should i report bug fixes ?
sameer666
Znuny newbie
Posts: 12
Joined: 16 Feb 2012, 06:40
Znuny Version: 3.1
Real Name: sameer

Re: Survey module 2.1.1 error

Post by sameer666 »

i have attached a patch for /opt/otrs-3.1.1/Kernel/Output/HTML/Standard/AgentSurveyEditQuestions.dtl


hope it help others :D
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Survey module 2.1.1 error

Post by jojo »

bugs.otrs.org
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Mydnyte
Znuny newbie
Posts: 25
Joined: 23 Feb 2012, 01:03
Znuny Version: 3x1x1
Real Name: Jeremy

Re: Survey module 2.1.1 error

Post by Mydnyte »

sameer666 wrote:i have attached a patch for /opt/otrs-3.1.1/Kernel/Output/HTML/Standard/AgentSurveyEditQuestions.dtl


hope it help others :D
You sir, are amazing. Thank you so much for a link to that file.
The changes in the patch are as follows:

Edit the AgentSurveyEditQuestions.dtl

Line 40 reads:

Code: Select all

$QData{"SelectionType"}
Change line 40 to read:

Code: Select all

$Data{"SelectionType"}
Line 41 is blank:
Add the div close tag

Code: Select all

</div>
Before:

Code: Select all

39     <input type="text" id="Question" name="Question" class="Validate_Required $QData{"QuestionErrorClass"} " size="60" />
40                         $QData{"SelectionType"}
41					
42                         <div id="QuestionError" class="TooltipErrorMessage">
After:

Code: Select all

39     <input type="text" id="Question" name="Question" class="Validate_Required $QData{"QuestionErrorClass"} " size="60" />
40                         $Data{"SelectionType"}
41	</div>				
42                         <div id="QuestionError" class="TooltipErrorMessage">
Thanks!
OTRS 3.2.10 - FAQ - KUBUNTU 13.04 - MySQL 5.5 - Apache2.2
Locked