mesh-ui icon indicating copy to clipboard operation
mesh-ui copied to clipboard

Node data not showing in UI

Open crisboarna opened this issue 4 years ago • 0 comments

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:

  • 1.5.1
  • 1.5.2
  • 1.6.0
  • 1.4.0

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

crisboarna avatar Aug 26 '20 13:08 crisboarna