odataexplorer icon indicating copy to clipboard operation
odataexplorer copied to clipboard

Visualizer, uncaught promise

Open tchampag opened this issue 7 years ago • 1 comments

I'm unable to get the visualizer to work. Its always returning the below error when I click on the button to bring it up. The page navigates, and the controls load, but the loading icon spins and no actual content comes up.

I've changed my SAPUI5 resource to use the CDN latest version and others without success. Any suggestions?

image

tchampag avatar Mar 21 '18 16:03 tchampag

Did you read my further comment to move up coding in eclipse? maybe a path issue, becuase your code runs one level below expected.

Currently the sap trial scp is done, so i can not have a look on it.

In some situations, this comes up, when special data is not escaped or wrong positioned insided model.

Inside MetadataVis.controller uncomment line 264 to debug the collected data. Also try to set an empty array for Lines. If lines is referencing some entities that are not part of the nodes, the renderer will abort without addtional info. Therefore i added the "iterate navigationProperty(s)" loop.

If you have references to ids (for what ever reason) that are not part of the nodes, this can lead to such an issue.

If this is the case and you have fixed it, let me know to push this fix into the code.

Regards Holger

hschaefer123 avatar Mar 21 '18 16:03 hschaefer123