Copied to clipboard

Flag this post as spam?

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


  • Richard Thompson 100 posts 336 karma points
    Sep 17, 2014 @ 11:38
    Richard Thompson
    0

    Import failling

    Hi,

    Firstly thanks for the awesome package.

    I've been importing people into our Umbraco site using a free version of the package and that is all working fine.  I tried to import content under a different document type but I keep getting:

    Error during load, check the logfile for details Sequence contains more than one matching element

    In the log file I have:

    2014-09-17 10:36:49,740 [6] INFO  umbraco.BusinessLogic.Log - [Thread 10] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Error during load System.InvalidOperationException: Sequence contains more than one matching element

       at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)

       at CMSImport.Controls.ImportSteps.MapProperties.(ImportState )

       at CMSImport.Controls.ImportSteps.MapProperties.InitializeStepControl(ImportState state)

       at CMSImport.Controls.CMSImport.()

       at CMSImport.Controls.CMSImport.(Int32 )

     

       at CMSImport.Controls.CMSImport.OnPreRender(EventArgs e)

    Any ideas?  I'm using Umbraco 7.1.6.

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Sep 17, 2014 @ 11:44
    Richard Soeteman
    0

    Hi Richard,

    Weird never happened to me before. Already tried to restart the website? I think it's a control state thing but not sure.

    Thanks,

    Richard

  • Richard Thompson 100 posts 336 karma points
    Sep 17, 2014 @ 12:01
    Richard Thompson
    0

    Hi,

    I tried restarting the site but no joy.  I was able to import the same content under a different document type and that all worked fine, I then try to import it under the original document type and get the same error after the Select Destination and DocumentType screen.

    I'm running version 2.5.2 locally on IIS express.

  • Richard Thompson 100 posts 336 karma points
    Sep 17, 2014 @ 12:33
    Richard Thompson
    0

    I can get to the property matching screen for most document types so it must be something about this particular document type.

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Sep 18, 2014 @ 07:15
    Richard Soeteman
    0

    Yes could be, did you modify that doctype recently? Maybe something got cached, bit hard to see from here. If you can send me the doctype I can have a look but don't think it's easy to reproduce :-(

  • Richard Thompson 100 posts 336 karma points
    Sep 18, 2014 @ 10:11
    Richard Thompson
    0

    When we are editing existing items of a couple of other document types we are seeing sequence contains no matching element.  Unfortunately I suspect some of our doucoment types have gone a bit wonky rather than it being an import issue.

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Sep 18, 2014 @ 10:21
    Richard Soeteman
    0

    Yes I think the same. I'm using the same API calls as Umbraco uses to determine the properties...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies