uDateFoldersy ignoring all but first document type alias
I've set up my config like below, but for some reason only the first document type / fonder type is behaving the way its supposed to with uDateFoldersy 1.1.0.2 and Umbraco 6.0. Has anyone else experienced this?
Hi Anthony, I'm getting the following error when replacing with the new .dll on 6.0.3:
Server Error in '/' Application.
Data at the root level is invalid. Line 30, position 25.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: Data at the root level is invalid. Line 30, position 25.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[XmlException: Data at the root level is invalid. Line 30, position 25.] System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +195 System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() +5186450 System.Xml.XmlTextReaderImpl.ParseDocumentContent() +61 System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r) +1161 System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o) +75 System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) +345 System.Xml.Linq.XDocument.Parse(String text, LoadOptions options) +204 uDateFoldersy.Helpers.ConfigReader..ctor() +100 uDateFoldersy.Helpers.ConfigReader..cctor() +62
[TypeInitializationException: The type initializer for 'uDateFoldersy.Helpers.ConfigReader' threw an exception.] uDateFoldersy.Helpers.ConfigReader.get_Instance() +0 uDateFoldersy.UmbracoEvents.UmbracoNodeEventsForDateFolders.ContentService_Creating(IContentService sender, NewEventArgs`1 e) +54 Umbraco.Core.Services.ContentService.CreateContent(String name, Int32 parentId, String contentTypeAlias, Int32 userId) +133 umbraco.cms.businesslogic.web.Document.MakeNew(String Name, DocumentType dct, User u, Int32 ParentId) +202 umbraco.contentTasks.Save() +76 umbraco.presentation.create.dialogHandler_temp.Create(String NodeType, Int32 TypeId, Int32 NodeId, String Text) +755 umbraco.cms.presentation.create.controls.content.doCreation() +225 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
That file seems fine, Its the same one from the previous version. Should I completely remove everything related to uDateFoldersy and start from scratch?
uDateFoldersy ignoring all but first document type alias
I've set up my config like below, but for some reason only the first document type / fonder type is behaving the way its supposed to with uDateFoldersy 1.1.0.2 and Umbraco 6.0. Has anyone else experienced this?
<RootDocTypeAliases>BlogContainerMC, BlogContainerSN</RootDocTypeAliases>
<TargetDocTypeAliases>BlogPostMC, BlogPostSN</TargetDocTypeAliases>
possibly try it without the space after the comma?
Tried that also...
What about upgrading to 6.0.3
No luck, oddly I'm having issues getting it to work at all on a fresh 6.0.3 install...
Turns out umbraco fixed a bug in 6.0.3, which had a work around in uDateFoldersy.
I'll have a fix up this week.
Hi Anthony, I'm getting the following error when replacing with the new .dll on 6.0.3:
Did you resolve this issue?
Check that the xml file is not corrupted in any way.
Which XML file? The Config file?
/config/udatefoldersy.config
That file seems fine, Its the same one from the previous version. Should I completely remove everything related to uDateFoldersy and start from scratch?
Sorry for the late reply.. i was on vacation last week.
I just did another test. Cannot replicate your issue.
Trash your udatefoldersy.config and replace with a new one. There may be some crazy invisible character that is killing XDocument.
Hi Anthony, hope you had a great vacation!
Do you know if uBlogsy works with 6.0.5? It seems to just not work?
Works for me.
More info?
I'm sorry, I had forgotten to apply the hotfix, once I did that it is working as expected.
is working on a reply...