aequos-solutions / modern-data-visualizer

Documentation for the Modern Data Visualizer solution
https://aequos-solutions.github.io/modern-data-visualizer/
7 stars 7 forks source link

[BUG] User always see Handlebars error #118

Closed heatwave22 closed 6 months ago

heatwave22 commented 11 months ago

Version used Version: 1.4.1

Describe the bug This describes the issue with SharePoint Online A user always sees the following Handlebar error when viewing any page that has Aequos web parts installed:

You must pass a string or Handlebars AST to Handlebars.compile. You passed null.

Other users see this intermittently on page load. A simple page refresh will fix this error for these users. For the user that always sees this error, a page refresh does not work.

I know a newer version is available, but I did not see anything in the change log that addresses this error.

To Reproduce Steps to reproduce the behavior:

  1. Go to a page with Aequos web parts installed on SharePoint Online
  2. See error (if it appears).

Expected behavior Never to see this error appear.

Screenshots

To help us to resolve your issue, you can include screenshots or error messages coming from:

Desktop (please complete the following information):

Additional context Since this is an intermittent error for most users, it seems this a page load timing issue where Handlebars is not receiving the information it needs.

Laul0 commented 11 months ago

Hi @heatwave22,

Thank you for your feedback.

Can you share a screenshot and ideally the browser console output when the issue happens?

We cannot reproduce your issue on our side.

Thank you

heatwave22 commented 11 months ago

I will do my best to try and capture some screenshots of the error. Trying to arrange a time with the user who is experiencing this issue frequently.

bbrisson1 commented 11 months ago

I am getting the same error using a custom template (print screen attached)

image

Laul0 commented 8 months ago

Hi @bbrisson1,

Did you find a solution for your handlebar template?

aequosword commented 6 months ago

Because we didn't receive any news from the author of this issue, we closed it. Feel free to open it again if the issue persists.

Thank you