Forum OpenACS Development: Problem with Project Manager Add/Edit

I tried to modify a subproject and received this error:

Error in include template "/web/webteamworks/packages/project-manager/templates/project-ae": Transaction aborted: Invalid switch: "-array"

Can't find anything relevant with a search.

R.

Collapse
Posted by Dave Bauer on
This is an annoying shortcoming of db_transaction.

In the add-edit page, in db_transction in the onerror block put

ad_log_stack_trace

then you can debug the error.

Collapse
Posted by Richard Hamilton on
Oh brilliant - thanks Dave. I spent about 20 mins hunting through the code for something resembling the "-array" parameter in the error message and couldn't see anything helpful at all!

It looks as if I am going to have some fun thrashing through all this code. I think I'd better download and install HEAD before I do much more.

Thanks a lot as ever.

R.