|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Update to 4.1 moves templatePath DataNode to a new parameters nodeHello I updated two projects from 3.6.x to 4.1. With both projects there was a newly created ContentNode under every Template Node (templating>templates) after the update and the templatePath DataNode was moved to this new folder. The result was a "Unable to render info.magnolia.module.templating.Template internal in page /intranet: templatePath not set." After recreating the datanode templatePath direct under templating>templates>templatename it worked again. Templates are of type jsp. What is the purpose of this parameters node? Regards Tobias ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscribe@...> ---------------------------------------------------------------- |
|
|
Re: Update to 4.1 moves templatePath DataNode to a new parameters nodeHi Tobias, Dang, this just looks like a bug. Thanks for reporting ! I added it in our bugtracker: http://jira.magnolia-cms.com/browse/MAGNOLIA-2809 With 4.0, the path properties have been renamed to templatePath (for consistency w/ paragraphs). Non-standard properties are also moved to this parameters node (so one can still use them in their templates, but they're not part of the template definition bean per se). Unfortunately, it looks like we got mixed up, and instead of keep the 'templatePath' properties (which had just been renamed from 'path') we attempt to keep the 'path' ones (which, well, have just been renamed to 'templatePath') It's unfortunate we notice this just after releasing 4.0.2. Hopefully we'll come up with a fix soon, and it'll definitely be included in 4.1.1 which is due to release in the coming weeks/month. In the meantime, apologies for the mix-up. I hope you don't have too many template definitions to fix ;) Cheers, -g On Jul 3, 2009, at 1:00 PM, Tobias Reinhardt wrote: > > Hello > > I updated two projects from 3.6.x to 4.1. With both projects there was > a newly created ContentNode under every Template Node > (templating>templates) after the update and the templatePath DataNode > was moved to this new folder. > The result was a "Unable to render > info.magnolia.module.templating.Template internal in page /intranet: > templatePath not set." > After recreating the datanode templatePath direct under > templating>templates>templatename it worked again. > Templates are of type jsp. > > What is the purpose of this parameters node? > > Regards > > Tobias > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <user-list-unsubscribe@...> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscribe@...> ---------------------------------------------------------------- |
|
|
Re: Update to 4.1 moves templatePath DataNode to a new parameters node> In the meantime, apologies for the mix-up. I hope you don't have too many > template definitions to fix ;) No problem, that Resource is deprecated now bothers me more. I have two other problems updating 3.6.x Installations to 4.1: 1.) An "can't resolve class for node /modules/adminInterface/commands/default/sendMail" error in the logfile. Changing the class from info.magnolia.module.mail.MailCommand moved to info.magnolia.module.mail.commands.MailCommand makes the error go away... 2.) WARN: Dialog definitions should be of type contentNode but [/modules/templating/dialogs/paragraphs/xyz is of type content. This one comes even for the magnolia own dialogs like dms and user edit dialogs. And it comes if you install a clean 4.1, not only with updated installations. Regards Tobias ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscribe@...> ---------------------------------------------------------------- |
|
|
|
|
|
Re: Update to 4.1 moves templatePath DataNode to a new parameters nodeHi, On Jul 3, 2009, at 11:11 PM, Tobias Reinhardt wrote: >> In the meantime, apologies for the mix-up. I hope you don't have >> too many >> template definitions to fix ;) > > No problem, that Resource is deprecated now bothers me more. Any specific problem or difficulty with that ? http://documentation.magnolia-cms.com/releases/4-0-1/api-cleanup.html#Aggregationandtemplating > I have two other problems updating 3.6.x Installations to 4.1: > 1.) An "can't resolve class for node > /modules/adminInterface/commands/default/sendMail" error in the > logfile. Changing the class from info.magnolia.module.mail.MailCommand > moved to info.magnolia.module.mail.commands.MailCommand makes the > error go away... info.magnolia.module.mail.commands.MailCommand is indeed the correct class; can't see where the wrong class name comes from. > > 2.) WARN: Dialog definitions should be of type contentNode but > [/modules/templating/dialogs/paragraphs/xyz is of type content. This > one comes even for the magnolia own dialogs like dms and user edit > dialogs. And it comes if you install a clean 4.1, not only with > updated installations. Hmm, I thought we'd have fixed that for 4.1; it should really just be a debug message, and can be ignored. I'll report this on our Jira if it's not already there. Cheers, -g ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <user-list-unsubscribe@...> ---------------------------------------------------------------- |
| Free embeddable forum powered by Nabble | Forum Help |