Last modified by SuperUwe Trueggelmann on 2022/09/28 17:35

From version 2.6
edited by SuperUwe Trueggelmann
on 2022/09/28 17:12
Change comment: There is no comment for this version
To version 2.5
edited by SuperUwe Trueggelmann
on 2022/09/28 17:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -13,17 +13,17 @@
13 13  
14 14   boolean doTH = false
15 15  
16 - strCommand = request.get("butAction")?: 'none'
17 - if (strCommand){
16 + strCommand = request.get("butAction")?: "none"
17 + if (strCommand == null){
18 + strCommand = "none"
19 + intPageStatus = 0
20 + }
21 + else{
18 18   strCommand = services.cleanStr.alphanum(strCommand)
19 19   if (strCommand == "Calculate the Test Plan") {intPageStatus = 20}
20 20   if (strCommand == "Create a new Test Plan") {intPageStatus = 40}
21 21   if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus}
22 22   }
23 - else{
24 - strCommand = "none"
25 - intPageStatus = 0
26 - }
27 27  
28 28  // PageStatus == 0: Starting, no parameters queried
29 29  // PageStatus == 10: Some parameters provided, but impossible to create the plan