Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Nov 10, 2011 @ 10:29
    Ismail Mayat
    0

    examine issue

    I am using autofolders v2.0.2 and umbraco 4.7.1 i have set it up to use datefolder. When i create news item the autofolders folder creation is triggered however i then get ysod with message

    ArgumentNullException: Value cannot be null.
    Parameter name: attribute]
       System.Xml.Linq.XAttribute.op_Explicit(XAttribute attribute) +90598
       UmbracoExamine.UmbracoContentIndexer.ReIndexNode(XElement node, String type) +110
       Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable`1 providers) +81
       UmbracoExamine.UmbracoEventManager.content_AfterUpdateDocumentCache(Document sender, DocumentCacheEventArgs e) +172
       umbraco.DocumentCacheEventHandler.Invoke(Document sender, DocumentCacheEventArgs e) +0
       umbraco.content.FireAfterUpdateDocumentCache(Document sender, DocumentCacheEventArgs e) +26
       umbraco.content.UpdateDocumentCache(Document d) +749
       umbraco.content.UpdateDocumentCache(Int32 pageId) +52
       umbraco.library.UpdateDocumentCache(Int32 DocumentId) +106
       AutoFolders.Providers.DateFolderProvider.CreateFolderStructure(Document newDocument, Int32 iNodeRootFolder, String folderDocTypeAlias) +1654
       AutoFolders.ApplicationBase.Document_New(Document sender, Object e) +454
       umbraco.cms.businesslogic.web.Document.OnNew(NewEventArgs e) +27
       umbraco.cms.businesslogic.web.Document.MakeNew(String Name, DocumentType dct, User u, Int32 ParentId) +865
       umbraco.contentTasks.Save() +95
       umbraco.presentation.create.dialogHandler_temp.Create(String NodeType, Int32 TypeId, Int32 NodeId, String Text) +385
       umbraco.cms.presentation.create.controls.content.doCreation() +161
       umbraco.cms.presentation.create.controls.content.sbmt_Click(Object sender, EventArgs e) +5
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

    Anyone seen this before?

    Regards

     

    Ismail

     

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Nov 10, 2011 @ 11:18
    Ismail Mayat
    0

    ok update on this. I have rebuilt the index and now i get page created but dont see it in tree and i dont get date folders.  My structure is

    Home

        News & Press

              Press releases

    I try to create news item in Press releases and it doesnt work. If i create news item in News and Press it does work.  Do I need to set root folder?

    Regards

    Ismail

  • Matt Barlow | jacker.io 164 posts 740 karma points c-trib
    Nov 10, 2011 @ 11:56
    Matt Barlow | jacker.io
    0

    Autofolders still uses the old legacy schema, you'll need to download the source code and modify it to work with the current schema.

    See this post:

    http://our.umbraco.org/forum/developers/extending-umbraco/22041-Creating-Date-folders-using-Auto-Folders-Package

  • Bijesh Tank 192 posts 420 karma points
    Nov 10, 2011 @ 12:04
    Bijesh Tank
    0

    I think you are trying to do something similiar to the setup I have.  New items get published and get put into appropraite year and month folders.  Each news item has calendar/date property and I set autofolders to look at this property to publish to when the value for this is set.

    <folderProvider alias="DateFolderProvider_Full" assembly="/bin/AutoFolders" type="AutoFolders.Providers.DateFolderProvider">
                <property alias="MonthFormat">MMMM</property>
                <property alias="YearFormat">yyyy</property>
                <property alias="DateField">newsPublishedDate</property>
            </folderProvider>
  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Nov 10, 2011 @ 12:54
    Ismail Mayat
    0

    In the log i noticed there were quite a few sitemapprovider errors so in web.config i removed sitemapprovider then tried again and now it works!!!

    Regards

     

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft