Copied to clipboard

Flag this post as spam?

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


  • Nigel Wilson 924 posts 2035 karma points
    Oct 17, 2011 @ 19:59
    Nigel Wilson
    0

    Error When Publishing

    Hi there

    I have just installed this package but cannot get the date folders to work.

    My config is as follows:

    <settings>
        <folderProviders>
            <folderProvider alias="DateFolderFull"
                    assembly="/bin/AutoFolders" type="AutoFolders.Providers.DateFolderProvider">
                <property alias="FolderDocType">DateFolder</property>
                <property alias="DayFormat">dd</property>
                <property alias="MonthFormat">MM</property>
                <property alias="YearFormat">yyyy</property>
                <property alias="DateField">eventStartDateTime</property>
            </folderProvider>
        </folderProviders>
        <autoFolders>
            <autoFolder docType="Event" folderProviderAlias="DateFolderFull" folderDocType="DateFolder" />
        </autoFolders>
    </settings>

    I can create a new node "Event" node under the parent "EventCalendar" however when I publish the event I get the following error:

     

    No Document exists with Version '00000000-0000-0000-0000-000000000000'

    The node then disappears from the content tree.

    Can anyone provide a heads up on what I am doing wrong?

    Thanks

    Nigel

  • Nigel Wilson 924 posts 2035 karma points
    Oct 17, 2011 @ 20:03
    Nigel Wilson
    0

    Just to confirm

    I am using Umbraco 4.7.0

    I have a Date Folder document type setup with an alias of "DateFolder"

  • Nigel Wilson 924 posts 2035 karma points
    Nov 23, 2011 @ 18:49
    Nigel Wilson
    0

    I have revisited this on a site under development and am stil having problems.

    I now get 

    Object reference not set to an instance of an object.

    when trying to create and "Event" under my EventContainer

    My config is

    <Settings>
      <FolderProviders>
        <FolderProvider alias="DateFolderSimple" 
                        assembly="/bin/AutoFolders" 
                        type="AutoFolders.Providers.DateFolderProvider" 
                        rootFolder="//node[@level = 2]">
            <Property alias="FolderDocType">DateFolder</Property>
          <Property alias="MonthFormat">MM</Property>
          <Property alias="YearFormat">yyyy</Property>
        </FolderProvider>
      </FolderProviders>
        <DocTypes>
            <DocType alias="Event" folderProvider="DateFolderSimple"/>
        </DocTypes>
    </Settings>

    Can anyone assist please ?

    Cheers

    Nigel

Please Sign in or register to post replies

Write your reply to:

Draft