Note: Date folders do get created, but when I try and do it again the date folders get DUPLICATED, i.e. root/2011/07/node, then root/2010 (1)/07 (1)/node
- Key: "itemDateProperty" - the property of the itemDocType to read the date from (e.g. "startDate") (don't add this key if you just want to use the document's create date)
So this should be the property alias. A property alias never starts with an '@' sign. Also it states that if you'd like to use the document's create date, don't add this key. So try to remove that key...
Yes, I use it all the time with 4.7 and have no problems at all... There's no other version, because this one is stable. Sounds to me like a misconfiguration.
this is really very strange. See the image below for web.config configuration information, a double check that the doctypes exist, the error msg and the subsequently created nodes and their doctypes. Perhaps it will give some clues :)
String was not recognized as a valid DateTime.
Getting the below error when creating a blog post under the ublogsy root blog node
Note: Date folders do get created, but when I try and do it again the date folders get DUPLICATED, i.e. root/2011/07/node, then root/2010 (1)/07 (1)/node
So what's the CurrentCulture, the alias of the dateProperty and the value of the date property?
These are my datefolder configuration keys I added to the web.config:
<add key="itemDocType" value="uBlogsyPost" />
<add key="itemDateProperty" value="@createDate" />
<add key="dateFolderDocType" value="uBlogsyFolderMonth" />
What do you mean by CurrentCulture? The site's only language is English.
Thanks
Max.
From the documentation:
- Key: "itemDateProperty" - the property of the itemDocType to read the date from (e.g. "startDate") (don't add this key if you just want to use the document's create date)
So this should be the property alias. A property alias never starts with an '@' sign. Also it states that if you'd like to use the document's create date, don't add this key. So try to remove that key...
Hi,
I removed the key, restarted the web server and tried again and am still getting the same error and symptoms.
Any other ideas? Do you have another version or a beta I could try?
thanks,
Max.
Also can you confirm this package officially supports Umbraco 4.7?
Yes, I use it all the time with 4.7 and have no problems at all... There's no other version, because this one is stable.
Sounds to me like a misconfiguration.
Ok I tested versions 1.3, 1.2 and 1.1 and am getting the same error with each of them.
Ironically, trying the depreciated package for the old xslt schema pre 4.5 works:
http://our.umbraco.org/projects/developer-tools/datefolder
I really don't know why...
I'd prefer to use yours as it is more recent and for the correct schema etc so if possible I'd like to get to the root of the issue :)
this is really very strange. See the image below for web.config configuration information, a double check that the doctypes exist, the error msg and the subsequently created nodes and their doctypes. Perhaps it will give some clues :)
is working on a reply...