Macro crumbTrail problem
I'm trying to use this macro in 2.0 but Im getting this error:
VELOCITY EXCEPTION: COM.DOTMARKETING.BUSINESS.DOTSTATEEXCEPTION: VERSIONABLE IS NULL
I tried in 1.9 ans seems to be working perfectly:
http://demo19.dotcms.com/test/testing-crumbtrail-macro.dot
Tried to reproduce the issue on branch "master",
working right.
http://screencast.com/t/UILLqg8R
Freddy this may be a data issue on that server. If you create a new host and folder and page does it happen?
I had this same issue too, I've seen it in a couple of clients running 2.0.
I just tested in the same server, but new (empty) host and it worked normally.
I think it's an issue with the template/container cache. After creating a new template with the same code from the template with the broken crumbtrail and assign it to a page, the problem is gone for this page. Since it's using the same code, I don't understand why the crumbtrail (and in some cases, the navigation macro) gets broken and it gets fixed after recreating the page's template.