Copied to clipboard

Flag this post as spam?

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


  • Nicolas 2 posts 71 karma points
    May 20, 2016 @ 09:11
    Nicolas
    0

    Grid editor issue after migration 7.2.6 to 7.4.3

    Hello,

    I have a problem with the grid editor of a Project A following a migration 7.2.6 to 7.4.3. The migration was successful, except for the grid editor. First, they are displayed correctly but if I republish a page containing a grid editor, it no longer displays the html value.

    The property is well present in my currentPage object with for value my html content but GetGridHtml method returns the grid structure without content.

    <div class="umb-grid">
    <div class="grid-section">
        <div >
            <div class='container'>
                <div class="row clearfix">
                    <div class="col-md-12 column">
                        <div >
    
                        </div>
                    </div>        
                </div>
            </div>
        </div>
    </div>
    

    I found that the value of my property grid in db is changed after a republish, the editor property has lost a part of its attributes. I tried to manually change the DB value to restore the old value but even this no longer works. Comparing the structure of a property grid from another Project B in 7.4.3, I noticed that it has changed. Occurrences of a property "active" : true, I tried to manually added in db but it still does not work.

    I recreated a new data type from a grid editor, this one takes a json structure identical to that Project B but the GetGridHtml method still returns the grid structure without content.

    Below the json structure of my grid object at different stage:

    Projet A before republish

    "{ "name": "Une colonne", "sections": [ { "grid": 12, "rows": [ { "name": "Une colonne", "areas": [ { "grid": 12, "controls": [ { "value": "my content", "editor": { "name": "Rich text editor", "alias": "rte", "view": "rte", "render": null, "icon": "icon-article", "config": {} } } ] } ], "id": "9703d863-3615-368e-53e5-b96831c42d3a" } ] } ] }"

    Projet A after republish

    { "name": "Une colonne", "sections": [ { "grid": 12, "rows": [ { "name": "Une colonne", "areas": [ { "grid": 12, "hasConfig": false, "controls": [ { "value": "my content", "editor": { "alias": "rte" } } ] } ], "hasConfig": false, "id": "9703d863-3615-368e-53e5-b96831c42d3a" } ] } ] }

    Projet B with a working grid editor

    { "name": "1 column layout", "sections": [ { "grid": 12, "rows": [ { "name": "Headline", "areas": [ { "grid": 12, "hasConfig": false, "controls": [ { "value": "my content", "editor": { "alias": "rte" }, "active": true } ], "active": true } ], "hasConfig": false, "id": "72130393-7b83-6d58-db99-d2285159c7f0", "hasActiveChild": true, "active": true } ] } ] }

    Thanks,

    Nico

  • 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