Copied to clipboard

Flag this post as spam?

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


  • Danni 13 posts 52 karma points
    May 08, 2015 @ 07:52
    Danni
    0

    Errors after update

    I get these two strange errors, in the frontend, after upgrade from 0.8 -> 1.0.2/4

    Editor:

    {

            "name": "Image slider",

            "alias": "imageSlider",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-pictures-alt-2",

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "frontView": "",

                "editors": [

                    {

                        "name": "Title",

                        "alias": "title",

                        "propretyType": {},

                        "dataType": "0cc0eba1-9960-42c9-bf9b-60e150b429ae"

                    },

                    {

                        "name": "Link",

                        "alias": "link",

                        "propretyType": {},

                        "dataType": "a6857c73-d6e9-480c-b6e6-f15f6ad11125"

                    },

                    {

                        "name": "Image",

                        "alias": "image",

                        "propretyType": {},

                        "dataType": "93929b9a-93a2-4e2a-b239-d99334440a59"

                    }

                ],

                "min": 1,

                "max": 5

            }

        }

    Value cannot be null. Parameter name: input

    And another editor:

    {

            "name": "Footer",

            "alias": "footer",

            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",

            "icon": "icon-shoe",

            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",

            "config": {

                "fixed": false,

                "limit": 6,

                "editors": [

                    {

                        "name": "Footer Row Header",

                        "alias": "footerRowHeader",

                        "view": "",

                        "propretyType": {

                            "name": "Textstring",

                            "view": "textstring"

                        }

                    },

                    {

                        "name": "Footer Header Link",

                        "alias": "footerHeaderLInk",

                        "view": "",

                        "propretyType": {

                            "name": "Content Picker",

                            "view": "/umbraco/Views/propertyeditors/contentpicker/contentpicker.html",

                            "config": {

                                "multiPicker": false,

                                "minNumber": 1,

                                "maxNumber": 1

                            }

                        }

                    },

                    {

                        "name": "Footer Links",

                        "alias": "footerLinks",

                        "view": "",

                        "propretyType": {

                            "name": "Multi Content Picker",

                            "view": "/umbraco/Views/propertyeditors/contentpicker/contentpicker.html",

                            "config": {

                                "multiPicker": "1",

                                "showEditButton": "0"

                            }

                        }

                    }

                ],

                "max": 6,

                "frontView": ""

            },

            "adv": true

     

        },

    Gets me this error:

    Unrecognized Guid format.
  • Antoine 176 posts 1487 karma points
    May 08, 2015 @ 08:46
    Antoine
    0

    Hi Danni,

    The first issue seems to come from your front partial view, i can have a look if you want, the second issue is due to an incompatible issue between both version. I will fix that, but you can have it working just replacing the Footer config by:

        {
            "name": "Footer",
            "alias": "footer",
            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",
            "icon": "icon-shoe",
            "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",
            "config": {
                "fixed": false,
                "limit": 6,
                "editors": [
                    {
                        "name": "Footer Row Header",
                        "alias": "footerRowHeader",
                        "view": "",
                        "propretyType": {},
                        "dataType": "0cc0eba1-9960-42c9-bf9b-60e150b429ae"
                    },
                    {
                        "name": "Footer Header Link",
                        "alias": "footerHeaderLInk",
                        "view": "",
                        "propretyType": {},
                        "dataType": "a6857c73-d6e9-480c-b6e6-f15f6ad11125"
                    },
                    {
                        "name": "Footer Links",
                        "alias": "footerLinks",
                        "view": "",
                        "propretyType": {
                            "name": "Multi Content Picker",
                            "view": "/umbraco/Views/propertyeditors/contentpicker/contentpicker.html",
                            "config": {
                                "multiPicker": "1",
                                "showEditButton": "0"
                            }
                        },
                        "dataType": ""
                    }
                ],
                "max": 6,
                "frontView": ""
            },
            "adv": true
        }
  • Danni 13 posts 52 karma points
    May 13, 2015 @ 08:25
    Danni
    0

    After merging your code in my config file, my slider is working again, but the footer is still giving me the error:

    UnrecognizedGuid format.

    I have tried to republish the node again, but it's still the same.

    Do you have any other ideas?

  • Antoine 176 posts 1487 karma points
    May 13, 2015 @ 18:34
    Antoine
    100

    Hi Dani, 

    For the footer, the config format is using a custom property editor. Maybe, it will be better to create a new datatype "Multi Content Picker" and use it for your property "Footer Links"

    Does it make sense for you?

  • Danni 13 posts 52 karma points
    May 19, 2015 @ 09:19
    Danni
    0

    Hi

    That worked, thank you! :)

Please Sign in or register to post replies

Write your reply to:

Draft