Copied to clipboard

Flag this post as spam?

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


  • Sean Dooley 271 posts 488 karma points
    Aug 06, 2020 @ 12:35
    Sean Dooley
    0

    [DocTypeGridEditor] Error creating Property object.

    Following deployment of language variants, the error logs in Umbraco are full of the following entries

    [DocTypeGridEditor] Error creating Property object.
    
    Exception
    System.NotSupportedException: Variation "<null>,<null>" is not supported by the property type.
       at Umbraco.Core.Models.Property.SetValue(Object value, String culture, String segment) in D:\a\1\s\src\Umbraco.Core\Models\Property.cs:line 274
       at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.ConvertValue(String id, String contentTypeAlias, String dataJson)
    

    Any ideas?

    UPDATE

    For each grid editor, vary by culture had been ticked which prevented any of the grid editors being added to the grid. The error is still appearing in the logs though.

  • Søren Kottal 498 posts 3285 karma points MVP 2x c-trib
    Aug 07, 2020 @ 06:05
    Søren Kottal
    0

    Did you have existing grid editors based on the doctypes varying by culture?

    That might be the reason.

  • Sean Dooley 271 posts 488 karma points
    Aug 10, 2020 @ 11:00
    Sean Dooley
    0

    Think the reason for the error was because both the Grid Layout property and the individual DTGE's had been set to vary by culture.

    After removing vary by culture from the individual DTGE's, there error was no longer appearing.

Please Sign in or register to post replies

Write your reply to:

Draft