Loading...
 
Skip to main content

Unable to delete workflow processes

Status
Closed
Subject
Unable to delete workflow processes
Version
1.9.x
Category
  • Error
  • Usability
Feature
~Workflow engine (Galaxia)
Resolution status
Won't Fix
Submitted by
it.tikiwiki
Lastmod by
Marc Laporte
Rating
(0)
Description

Under Admin Processes, upon attempting to a process, a number of MySQL errors are returned. The problem has to do with the syntax of the DELETE statement. As stated on the Mysql 5.0 reference manualQuestion under the DELETE Syntax,

If you provide an alias for a table, you must use the alias when referring to the table:

However, in the DELETE queries, the first reference to the table is the table name itself, which causes the failure.

Solution

In ProcessManager.php, under the function remove_process($pID), under the section entitled "Remove all instance data", replace all references to the table name with the table name's alias.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1707
Created
Friday 18 April, 2008 16:22:07 UTC
by Unknown
LastModif
Thursday 14 January, 2010 19:24:32 UTC


Show PHP error messages