Went to http://joe/admin/structure/maestro to create a new template but it gives me an error. I thought it was the apostrophe, but even without an apostrophe it doesn't work.

Comments

jdwfly’s picture

update... it gave the error message but it seemed to create the template.

jdwfly’s picture

Title: Can't create a new template » All ajax calls are failing

After playing with it some more it seems that all the ajax functions give an error message but they do successfully complete except the screen does not show that they do. The user has to refresh the page in order to see that the ajax actually worked.

jdwfly’s picture

Title: All ajax calls are failing » Most ajax calls are failing

It seems the only ajax call that works is creating lines. Most other calls give an error message and fail.

_randy’s picture

I just re-tested rc1. Works fine for me.

Are you using firefox? If so, can you use the firebug plugin and see what the Net or console tab shows for the ajax requests on return?

jdwfly’s picture

StatusFileSize
new82.66 KB

POST

Parametersapplication/x-www-form-urlencoded
name	asdf1234
op	createtemplate
Source
name=asdf1234&op=createtemplate

The response is a bunch of html. I'll post the full amount in a text file attachment. In fact it looks like it breaks somewhere because it has a strange \n character

HTML Response

{"status":1,"data":"
\n

I find it strange that you have no problem with it. All I did was install the module and try to use it and found it completely broken.

sprice’s picture

I had this same problem, but it was a module class with Theme Developer... I think, or it was with form builder. If you're using either of these, then try to disable them and see if that helps.

_randy’s picture

Status: Active » Closed (won't fix)

The problem is probably that you're using the Devel module.
If you look at the bottom of your html response file, you will see a <div .... ></div>
that's a known bug with Devel.

I ran in to that exact same problem using a specific version of Devel and posted an issue with it: http://drupal.org/node/847480

Perhaps it has come back as you have the exact same problem.

jdwfly’s picture

Title: Most ajax calls are failing » Incompatability with Devel module (ajax fails)

And another maintainer communication fail... good one guys. Makes me really want to continue to try out this module.

_randy’s picture

Sorry if there was any miscommunication here jdwfly -- that was not the intention. I was only trying to note that the Devel module was adding in the

tags at the end of all requests.
_randy’s picture

Status: Closed (won't fix) » Active

Will try to tack in:

drupal_set_header('Content-Type: text/plain; charset=utf-8');

to Ajax response areas to try to suppress Devel and memcache issues.

_randy’s picture

Status: Active » Needs review

Replaced echo json_encodes with drupal_json_output. This lets Devel play nicely with Maestro.
Updates are committed and will show up in the DEV branch.

_randy’s picture

Status: Needs review » Fixed

Fixed in v1.1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.