MantisBT - TestLink
View Issue Details
0008428TestLinkTest Plan - Add/Remove Test Casespublic2018-10-24 11:132018-11-03 13:57
kanaduchi 
fman 
normalminoralways
resolvedunable to reproduce 
1.9.18 (2018 Q3) 
 
MySQL
TBD
0008428: Open "Add/Remove testcases" raise Smarty error
Error in printDocOptions.tpl at line 49:

<script>
    jQuery( document ).ready(function() {
        jQuery(".chosen-select").chosen({ width: "100%" });
    });
    function showtr() {
        jQuery('.link4build').hide();
        var selectVal = jQuery("#build_id option:selected").val();
        jQuery("#link_" + selectVal).show();
    }
</script>
Fixed by separating these code blocks:

<script>
    jQuery( document ).ready(function() {
        jQuery(".chosen-select").chosen({ width: "100%" });
    });
</script>

<script type="text/javascript">
    function showtr() {
        jQuery('.link4build').hide();
        var selectVal = jQuery("#build_id option:selected").val();
        jQuery("#link_" + selectVal).show();
    }
</script>
No tags attached.
Issue History
2018-10-24 11:13kanaduchiNew Issue
2018-10-24 13:13fmanNote Added: 0028077
2018-10-24 13:13fmanAssigned To => fman
2018-10-24 13:13fmanStatusnew => feedback
2018-10-26 15:36kanaduchiNote Added: 0028104
2018-10-26 15:36kanaduchiStatusfeedback => assigned
2018-10-26 21:36fmanNote Added: 0028105
2018-11-03 13:57fmanNote Added: 0028163
2018-11-03 13:57fmanQA Team - Task Workflow Status => TBD
2018-11-03 13:57fmanStatusassigned => resolved
2018-11-03 13:57fmanResolutionopen => unable to reproduce

Notes
(0028077)
fman   
2018-10-24 13:13   
Thanks for help
please provide always steps to reproduce in addition with technical solution.
Most the value is present on how to test the system.
(0028104)
kanaduchi   
2018-10-26 15:36   
In this case:
1. Create testplan
2. Click "Add / Remove Test Cases" from main menu
(0028105)
fman   
2018-10-26 21:36   
it will be possible to have the error?
(0028163)
fman   
2018-11-03 13:57   
got 1.9.18 from sourceforge.
do fresh install
login as admin
create test project
create test suite
create test case
create test plan
create build
link test case to test plan, no error.