Loading...
 
Galaxia Workflow Engine

Galaxia Workflow Engine


Defect: Process Form code

United Kingdom

I'm using Tikiwiki 1.9.2 and have come across the following defect:

When creating an interactive activity that processes a form, the 'Admin Process Sources' page has a link 'Process form' which inserts the following code fragment:

Image
Copy to clipboard
if(isset($_REQUEST['save']){ $instance->complete(); }


There is a missing close brace ) which means that the 'if' statement is never executed as true. The result is that no form will be processes, and typically the user will not be able to click the 'save' button and move the actvivity onto the next state.

To workaround this defect, change the code fragment to:

Image
Copy to clipboard
if(isset($_REQUEST['save'])){ $instance->complete(); }


Maybe some of the developers could flag this into the project bug tracking system for inclusion in a future release?

Thanks.

Brazil

Hmm,
I never came across such a situation myself, but the syntax of that snippet is clearly wrong. I confirmed this on my box and will commit the fix to CVS later today. Thanks!

Georger