Data loading issue: Data correctly loading in GD C...
# gooddata-cloud
m
Data loading issue: Data correctly loading in GD Cloud, but when we have this dashboard in our product via CoreUI Integration data will never load and we observe some extra load in our postgress DB.
j
Hi Marketa, do I understand correctly that this error is only happening in the embedded environment and not in the GoodData UI?
m
Yes, that is correct.
j
interesting. would you be able to provide a HAR file when trying to load a dashboard or viz?
Or, could you provide details as to how you are exactly embedding the dashboard here?
f
Hi Markéta, the Technical Support team is looking into this - I will let you know of our findings as soon as have them. In the meantime, may I ask: does the issue occur for only this specific dashboard, or does it affect other dashboards as well?
m
We are currently integrate only this dashboard, so I cannot say for other dashboards, but it appears for different visualizations on this dashboard of it helps.
@Francisco Antunes any news/hints what could be the issue? 🙂
f
Hi @Markéta Jedličková sorry for the delay! I’m working on it and will come back with an update as soon as possible! 🙂 I do not think it’s caused by the configuration of the dashboard/visualizations themselves on the GoodData end, as investigation of the logs shows no issues with report rendering - so I’m checking the code you shared for the embedding for more clues. I’ll let you know how it goes!
From what I can see, you are using WebComponents to embed this dashboard on a Vue app, right? I’m no expert in Vue, but checking the code I do see a potential issue - the
setContext
call for the WebComponent is done via a
<script>
tag that is inside a
<template>
tag; Based on my research, this is most of the time not supported in Vue - so it might be worth a look! Otherwise, did you receive any error messages from the console when running this portion of the app? The HAR you shared does not contain any errors either, and neither do I see them on our logs (as I mentioned before).
m
But same implementation was previously working without issues, so our guess was, that maybe some change in good data metrics cause this, is that possible?
f
That might well be possible, but I would consider it unlikely. We haven’t updated the way metrics are calculated on our end, and the components should work regardless of the data that is being calculated on the backend. Were there any big recent changes, though, that may coincide with the dashboard failure? What is the current status of the problem? Did you make any changes to the embedding code?
m
My collegue wrote that he doesnt think that that is a problem: well, considering that we are using an old version of vue and it has been working for more than 1.5 years, it probably won’t be a problem - we still have a issue, I am trying to do a local mockup to check it
✔️ 1