Copied to clipboard

Flag this post as spam?

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


  • Martin Lingstuyl 202 posts 379 karma points
    Feb 29, 2012 @ 13:02
    Martin Lingstuyl
    0

    Autopublish on recursive import

    Hi,

    I am creating an import routine for a client of mine who has umbraco 4.5.2.

    However: when I import a recursive set of pages, it only publishes the childpages, it doesnt publish the parent pages. I'm using CMSimport 2.1.1. and saw that there had been a bugfix "Fixed Autopublish on recursive imported documents". Still, I'm experiencing this problem.

     

    Any ideas?

    Martin

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Feb 29, 2012 @ 13:14
    Richard Soeteman
    0

    Hi Martin,

    Can you have a look at the logfile please. There should be errors prefixed with cmsimport that gives more info.

    Thanks,

    Richard

  • Martin Lingstuyl 202 posts 379 karma points
    Feb 29, 2012 @ 13:34
    Martin Lingstuyl
    0

    Hi Richard,

    I don't see cmsimport prefixed anywhere, but there seem to be an awful lot of lucene errors:

    [UmbracoExamine] Error deleting Lucene index,Lock obtain timed out: NativeFSLock@C:\Users\mratin\Documents\DESIGN-WEB\ASP.NET Projecten\hoogeveenfietsen.nl\Ontwikkelingsomgeving\UmbracoFramework\App_Data\TEMP\ExamineIndexes\InternalMember\Index\write.lock
    [UmbracoExamine] Cannot index queue items, another indexing operation is currently in progress,

    hundreds of them.

     

    Martin

  • Martin Lingstuyl 202 posts 379 karma points
    Mar 05, 2012 @ 16:31
    Martin Lingstuyl
    0

    Ah never mind, I think I found the correct error. It couldnt publish the toplevel documents because the document url was not available. (another product with the same path)

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Mar 05, 2012 @ 16:41
    Richard Soeteman
    0

    Oh Sorry, forgot to reply, but great you found out.

  • Martin Lingstuyl 202 posts 379 karma points
    Mar 06, 2012 @ 11:18
    Martin Lingstuyl
    0

    Hi Richard,

     

    ****, the solution didnt appear to really be a solution at all. Could you look with me for one moment?

    This is my XML structure:

    <Categorie>
        <ID>1</ID>
        <ParentID>0</ParentID>
        <Name>Sloten</Name>
      </Categorie>
      <Categorie>
        <ID>2</ID>
        <ParentID>0</ParentID>
        <Name>Fietsen Gebruikt</Name>
    </Categorie>
    ...
    <Categorie>
        <ID>28</ID>
        <ParentID>1</ParentID>
        <Name>Axa Sloten</Name>
      </Categorie>
      <Categorie>
        <ID>29</ID>
        <ParentID>1</ParentID>
        <Name>Beugelsloten</Name>
    </Categorie>

    (of course with Root element)


    And this is my CMSimport scheme:

    DataSource Type
    Xml
    Data command
    /DocumentElement/Categorie
    Data Options
    Document location
    ImportCatalog
    Document Type
    Categorie
    Autopublish
    True
    Content update options
     
    Action when the item already exists
    Update record
    Primary key
    ID
    Enable recursive imports
    True
    Foreign key for recursive import
    ParentID

     

    Why do the toplevel Categories (sloten/ fietsen gebruikt) not publish?

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Mar 06, 2012 @ 11:55
    Richard Soeteman
    0

    Hi Martin,

    Is ImportCatalog published and does it have a link?

    Thanks,

    Richard

  • Martin Lingstuyl 202 posts 379 karma points
    Mar 06, 2012 @ 14:51
    Martin Lingstuyl
    0

    Hi Richard,

     

    Yes it is.
    I tried adding an extra child element below the root, but still the toplevel elements don't get published.
    And there is no error in the logtable. There simply are too few 'publish' entries in the logtable. (the publish entries only start at the first subnode)

     

    Martin

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Mar 06, 2012 @ 15:05
    Richard Soeteman
    0

    Hi Martin,

    Very weird, I'll load this file up in my environment and come back to you.

    Best,

    Richard

  • Martin Lingstuyl 202 posts 379 karma points
    Mar 06, 2012 @ 15:16
    Martin Lingstuyl
    0

    Thanks a lot!

     

     

     

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Mar 06, 2012 @ 15:39
    Richard Soeteman
    0

    Hi Martin,

    Thanks for that. I can confirm this is a bug (only applies on structured imports). Hotfix on its way. I'll keep you posted.

    Thanks,

    Richard

     

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Mar 06, 2012 @ 16:42
    Richard Soeteman
    0

    Hi Martin,

    I've created a hotfix download it and put the binaries in your bin folder then all should publish again.

    Please let me know if it worked for you or not.

    Thanks,

    Richard

  • Martin Lingstuyl 202 posts 379 karma points
    Mar 06, 2012 @ 18:05
    Martin Lingstuyl
    0

    Thanks a lot, this worked

Please Sign in or register to post replies

Write your reply to:

Draft