Custom Attribute using Date
I have set up a custom attribute to use in Composer and have set this as a Date attribute. It works fine in the composer, but when I try to add it on the Page Template the problems start.
The first thing is the Attribute doesnt show on the page while still in edit mode. Then when it is saved it throws an 'Unexpected error' message stating
Can't convert '[Date Completed]' to a \DateTime
I have attached a screen shot to show the problem.
I have attached 6 screen full shots showing the different elements associated with the problem, hopefully this will help...
I created a page and set the variable as you suggested and it displays is ok, so it would seem it is choking as you have suggested. The problem with this is that I cannot configure the output for the rest of the Page Type.
Is this a minor 'bug' that needs resolving?
I get the same strange error when I try to apply a CustomTemplate on a PageListBlock on a Multilingual site.
The same operations produce error if I edit a page in Italian section.
All works fine on English section.
Could be a core issue or a specific theme issue?
I use 126.96.36.199 and Multilingual from System & Settings.