When I create a test workflow and then I try to delete it (in Task Console), I receive An AJAX HTTP error occured and workflow won't delete (please see attached snapshot).

CommentFileSizeAuthor
maestro.jpg75.94 KBmsDrupal

Comments

alalamo’s picture

Category: support » bug

I too am having this error. After uninstalling and re-installing Maestro when I try to delete a workflow I get an empty dialog box that no longer has the ajax error associated with it. Still no luck in deleting the workfolow however.

blainelang’s picture

Status: Active » Postponed (maintainer needs more info)

This issue may have something to do with the way your site is setup. Looks like the site is in a directory under the baseurl. Still it should work but is not the way we have our sites.

Try this:
Around line 840 in maestro.module - function template_preprocess_maestro_taskconsole_details
Replace

$variables['delete_project_action'] = '<a class="ctools-modal-maestro-modal-style ctools-use-modal" href="'.$base_url .'/maestro/nojs/deleteproject/' . $task->tracking_id .'">Delete Project</a>';

with

$url = url('maestro/nojs/deleteproject/', array('query' => array('tracking_id' => $task->tracking_id)));
$variables['delete_project_action'] = '<a class="ctools-modal-maestro-modal-style ctools-use-modal" href="'. $url . '">Delete Project</a>';
_randy’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

This should all be fixed in the latest release.

  • Commit ed67c8c on master, 8.x-1.x by blainelang:
    Fix for delete project link - issue: #1398916