gentics / mesh-ui

Gentics Mesh UI
https://getmesh.io
Apache License 2.0
23 stars 27 forks source link

Node data not showing in UI #329

Open crisboarna opened 4 years ago

crisboarna commented 4 years ago

I have content in multiple languages beyond those of DE, PT, ZH so I need to use mesh-ui2-config.js to display them. Issue is that although I add content to a node such as slug and name to begin with, after I add it and attempt to view it, no data is visible in side pane that opens, not even title.

If I press on add tag and cancel, then title appears but still no content. Looking at API request, it retrieves data from backend.

I have tested this on:

Content of

mesh-ui-config.js

(function (window, document) {
    var meshUiConfig = {

        apiUrl: '/api/v1/',
        defaultLanguage: 'en',
        availableLanguages: ['en', 'de', 'it', 'nl', 'ro', 'sv', 'hu', 'pl'],
        microschemaControlsLocation: '/microschemaControls',
        microschemaControls: [
        ],
        alohaPlugins: [],
        alohaSettings: {},
        tagDisplayLimit: 3
    };

    window.meshUiConfig = meshUiConfig;
})(window, document);

mesh-ui2-config.js

/* MESH UI configuration file */

window.MeshUiConfig = {
    defaultLanguage: 'en',
    uiLanguages: ['en', 'de', 'it', 'nl', 'ro', 'sv', 'hu', 'pl'],
    contentLanguages: ['en', 'de', 'it', 'nl', 'ro', 'sv', 'hu', 'pl'],
    fallbackLanguage: 'en',
    anonymousUsername: 'anonymous',
    contentItemsPerPage: 8,
    microschemaControlsLocation: '/microschemaControls',
    microschemaControls: [
    ],
};

Logs of cms: https://pastebin.com/qicpivsE

Picture of issue: Screenshot from 2020-08-26 16-12-46

Also language dropdown does not show name of language, just ISO code, but data being displayed is of interest.

Screenshot from 2020-08-26 16-14-43