Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004135TestLinkTest Plan (builds, milestones, test assign)public2011-01-05 14:412011-03-18 19:08
Reportermam 
Assigned Tofman 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Fixed in Version2.0 (planned) 
Summary0004135: SmartyCompilerException in planUpdateTC.tpl
DescriptionI use the current 2.0 Dev Version from cvs.
Calling "Update Linked Test Case Versions" from Main Page i got:
----------------------------
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "gui/templates/plan/planUpdateTC.tpl" on line 82 "{assign var="div_id" value=div_$ts_id}"
----------------------------
.... and a few other mistakes


This solution has worked for me (planUpdateTC.tpl):

Line 82
  old {assign var="div_id" value=div_$ts_id}
  new {assign var="div_id" value="div_:$ts_id"}

Line 99
  old {if $ts.testcase_qty gt 0 || $ts.linked_testcase_qty gt 0 }
  new {if $ts.testcase_qty gt 0 || $ts.linked_testcase_qty gt 0}

Line 122
   old {if $tcase.linked_version_id != 0 }
   new {if $tcase.linked_version_id != 0}
           
Line 126
   old {if $is_linked }
   new {if $is_linked}

Line 142
   old {if $is_active || $is_linked }
   new {if $is_active || $is_linked}

Line 143
   old {if $is_linked }
   new {if $is_linked}

Line 146
   old {if $draw_update_inputs }
   new {if $draw_update_inputs}

Line 170
   old {if $draw_update_inputs }
   new {if $draw_update_inputs}
                     

line 178
   old {if $ts.linked_testcase_qty gt 0 }
   new {if $ts.linked_testcase_qty gt 0}
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySql
Browser
PHP Version
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0013166)
fman (administrator)
2011-01-05 19:06

Thanks for help.
(0014015)
fman (administrator)
2011-03-18 19:08

release - 1.9.2 - 20110320

- Issue History
Date Modified Username Field Change
2011-01-05 14:41 mam New Issue
2011-01-05 19:06 fman Note Added: 0013166
2011-01-05 19:32 fman Status new => resolved
2011-01-05 19:32 fman Fixed in Version => 2.0 (planned)
2011-01-05 19:32 fman Resolution open => fixed
2011-01-05 19:32 fman Assigned To => fman
2011-03-18 19:08 fman Note Added: 0014015
2011-03-18 19:08 fman Status resolved => closed



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker