Что-то пошло не так с этим редактором, ниже приведены данные, сохраненные Grid Editor error- Umbraco - PullRequest
0 голосов
/ 03 апреля 2020

Редактор сетки показывает ошибку бэк-офиса, подобную этой:

enter image description here

Перепробовал многие форумы, но ничего не помогает.

здесь файл grid.editor.config

    [
{
    "name": "Rich text editor",
    "alias": "rte",
    "view": "rte",
    "icon": "icon-article"
},
{
    "name": "Image",
    "alias": "media",
    "view": "media",
    "icon": "icon-picture"
},
{
    "name": "Main Menu Content",
    "alias": "macro",
    "view": "macro",
    "icon": "icon-settings-alt"
},
{
    "name": "Embed",
    "alias": "embed",
    "view": "embed",
    "icon": "icon-movie-alt"
},
{
    "name": "Related Content",
    "alias": "RelatedContent",
    "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",
    "icon": "icon-universal",
    "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",
    "config": {
        "editors": [
            {
                "name": "BoxTitle",
                "alias": "boxTitle",
                "propretyType": {},
                "dataType": "0cc0eba1-9960-42c9-bf9b-60e150b429ae",
                "description": "This title will come through with a default background image to create a header for the box"
            },
            {
                "name": "related Content List Builder",
                "alias": "relatedContentListBuilder",
                "propretyType": {},
                "dataType": "54938eee-7b4b-45ea-bedc-31931a4fcd58"
            }
        ],
        "renderInGrid": "1",
        "frontView": ""
    }
},
{
    "name": "Reusable Content",
    "alias": "reusableContentPicker",
    "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html",
    "icon": "icon-c-content-picker",
    "render": "/App_Plugins/LeBlender/editors/leblendereditor/views/Base.cshtml",
    "config": {
        "editors": [
            {
                "name": "Reusable Content Picker Property",
                "alias": "reusableContentPickerProperty",
                "propretyType": {},
                "dataType": "fd1e0da5-5606-4862-b679-5d0cf3a52a59",
                "description": "This is the actual property type that will sit inside the Leblender module"
            }
        ],
        "renderInGrid": "1",
        "min": null,
        "max": null,
        "expiration": 0,
        "frontView": ""
    }
}
]

и пакет Leblender.manifest

    {   
"propertyEditors": [       
    {
        "name": "LeBlender Editor",
        "alias": "leblenderEditor",
              "isGridEditor": true,
        "editor": {
            "view": "/App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.html"
        },
        "prevalues": {
            "fields": [
                {
                    "label": "Properties",
                    "key": "editors",
                    "description": "LeBlender Editor properties",
                    "view": "/App_Plugins/LeBlender/editors/leblendereditor/leblenderproperties.html",
                    "advanced": false
                },
                {
                    "label": "Render in the grid",
                    "key": "renderInGrid",
                    "description": "Render in the grid",
                    "view": "boolean",
                    "advanced": true
                },
                {
                    "label": "Min",
                    "key": "min",
                    "description": "Minimum number of items",
                    "view": "number",
                    "advanced": true
                },
                {
                    "label": "Max",
                    "key": "max",
                    "description": "Maximum number of items",
                    "view": "number",
                    "advanced": true
                },
                {
                    "label": "Cache period",
                    "key": "expiration",
                    "description": "Cache period in seconds (by page)",
                    "view": "number",
                    "advanced": true
                }
            ]
        }
    }
],
"javascript": [

    "~/App_Plugins/LeBlender/Common/Services/requestHelper.Service.js",
    "~/App_Plugins/LeBlender/Common/Filter/OrderObjectBy.filter.js",

    "~/App_Plugins/LeBlender/Common/Directive/LayersResizableDraggable.js",
    "~/App_Plugins/LeBlender/Common/Directive/blendereditorwrapper.js",
    "~/App_Plugins/LeBlender/Common/Directive/propertygrideditorwrapper.js",

    "~/App_Plugins/LeBlender/Backoffice/GridEditorManager/edit.js",
    "~/App_Plugins/LeBlender/Backoffice/GridEditorManager/delete.js",
    "~/App_Plugins/LeBlender/Backoffice/GridEditorManager/sort.js",

    "~/App_Plugins/LeBlender/editors/leblendereditor/leblenderproperties.controller.js",
    "~/App_Plugins/LeBlender/editors/leblendereditor/leblendereditor.controller.js",
    "~/App_Plugins/LeBlender/editors/leblendereditor/dialogs/parameterconfig.prevalues.controller.js",
    "~/App_Plugins/LeBlender/editors/leblendereditor/dialogs/parameterconfig.controller.js",        

]
}

плагин для версий leblender и Nexu:

     <package id="Lecoati.LeBlender" version="1.0.9.2" targetFramework="net462" />
 <package id="Our.Umbraco.Nexu" version="1.7.5" targetFramework="net462" />

версия Umbraco 7.15 .3

Кто-нибудь имеет представление о его?

...