Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Amir Khan 1282 posts 2739 karma points
    Apr 08, 2013 @ 17:02
    Amir Khan
    0

    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>

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 08, 2013 @ 20:08
    Anthony Dang
    0

    possibly try it without the space after the comma?

     

  • Amir Khan 1282 posts 2739 karma points
    Apr 08, 2013 @ 20:12
    Amir Khan
    0

    Tried that also...

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 10, 2013 @ 01:48
    Anthony Dang
    0

    What about upgrading to 6.0.3

  • Amir Khan 1282 posts 2739 karma points
    Apr 10, 2013 @ 16:34
    Amir Khan
    0

    No luck, oddly I'm having issues getting it to work at all on a fresh 6.0.3 install...

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 10, 2013 @ 16:47
    Anthony Dang
    0

    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.

     

     

  • Amir Khan 1282 posts 2739 karma points
    Apr 24, 2013 @ 17:54
    Amir Khan
    0

    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
  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 29, 2013 @ 13:57
    Anthony Dang
    0

    Did you resolve this issue?

    Check that the xml file is not corrupted in any way.

     

  • Amir Khan 1282 posts 2739 karma points
    Apr 29, 2013 @ 15:18
    Amir Khan
    0

    Which XML file? The Config file?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 29, 2013 @ 17:00
    Anthony Dang
    0

    /config/udatefoldersy.config

     

  • Amir Khan 1282 posts 2739 karma points
    Apr 29, 2013 @ 17:06
    Amir Khan
    0

    That file seems fine, Its the same one from the previous version. Should I completely remove everything related to uDateFoldersy and start from scratch?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    May 08, 2013 @ 11:51
    Anthony Dang
    0

    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.


  • Amir Khan 1282 posts 2739 karma points
    May 14, 2013 @ 20:07
    Amir Khan
    0

    Hi Anthony, hope you had a great vacation!

    Do you know if uBlogsy works with 6.0.5? It seems to just not work?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    May 14, 2013 @ 20:15
    Anthony Dang
    0

    Works for me.

    More info?

     

  • Amir Khan 1282 posts 2739 karma points
    May 14, 2013 @ 20:17
    Amir Khan
    1

    I'm sorry, I had forgotten to apply the hotfix, once I did that it is working as expected.

Please Sign in or register to post replies

Write your reply to:

Draft