Update from 1.5.4 to 1.5.6

Hi Just did the update, it failed:

Patch Zip archive detected, beginning to expand update: C:/…blabla…/modules/contentbox/updates/patch.zip
Patch Updates uncompressed.
Error applying update: Error while loading the entity. org.hibernate.HibernateException: coldfusion.runtime.InterfaceRuntimeExceptions$ArgumentsMistmatchException: Function argument mismatch.

Any ideas?

Best regards
Andy

Hmm mismatch on what function

Attached you find the update log. But I think it won´t help.
What is patch.zip doing ? Is the DB changed with that patch, or just a file based update ?

updatelog.txt (16.6 KB)

Can you find the exception in your CF logs that has the full stack trace? Also, what’s your environment?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Ok, we took now the update from the master branch. Not sure if we made a mistake or there was something wrong in the zip

Problem is now the the rule.json.cfm is not a valid json file
This is in the code:

`

“securelist”: “^contentbox-admin:(authors|categories|permissions|roles|settings|pages|entries|contentstore|securityrules)****.importAll$”,

`

But it has to be:

`

“securelist”: “^contentbox-admin:(authors|categories|permissions|roles|settings|pages|entries|contentstore|securityrules)\.importAll$”,

`

line 3 and 13

Fix both and the update runs smoothly.

Best regards,

Gunnar

Thanks for the info Gunnar. Luis just left yesterday on holiday and I don’t really know anything about how he builds the updates, so we’ll probably have to wait until he’s in front of a computer again to help fix the updates.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Hope that Luis can enjoy his holiday!

Just to make sure, that the problem can be fixed:

The first problem I had came up with the auto update function mentioned in my first post. (“Function argument mismatch.”)