-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when open Click Statistics page #530
Comments
On the very bottom of the stacktrace you can see it's pointing to the Syncfusion package. I have a slightly different stacktrace but I think it's coming from the same origin. Also I noticed it's only occurring on the first page load. When you click on another page and back to Stacktrace
I also found this relevant link by searching a few keywords from the stacktrace - https://www.syncfusion.com/forums/179195/json-convert-error-after-upgrade-from-20-3-0-47 Then I read about how Syncfusion stylesheet and script resources are included as part of a Blazor WASM App - noticed that the NuGet version and the web assets were out of sync. <!-- Cloud5mins.ShortenerTools.TinyBlazorAdmin.csproj -->
<PackageReference Include="Syncfusion.Blazor.Charts" Version="25.1.40" />
<!-- wwwroot/index.html -->
<script src="https://cdn.syncfusion.com/blazor/20.1.51/syncfusion-blazor.min.js" type="text/javascript"></script>
Files: I wanted to try out referencing the static web asset from the NuGet packages so that the package reference and web asset versions would be coupled: <link href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script> This fixed the original error but then I ran into another error that the Syncfusion (community) license key was invalid. I tried using the CDN link to the specified version I'm not sure if they are related but that's where I'm at so far with this. I might try and push a PR up this weekend if it's an unrelated issue since the versions should be coupled. |
This is a bit silly but I just retried that version Then comes the issue of version incompatibility and inconsistent packages. The Syncfusion library still works on newer versions, it'll just show the invalid license key error at the top and trigger a popup. https://blazor.syncfusion.com/documentation/common/how-to/version-compatibility I also don't know the details surrounding the original issuing of the Syncfusion community license and whether it still applies today. Has there been any communication about revoking it and that's why it's now considered invalid? Was the license only applicable to certain versions of the package or did they introduce license validation in versions I'm reading other people's experiences with this and they had their license revoked after their open source package had more than 5 contributors to it. https://support.syncfusion.com/kb/article/9795/how-to-get-community-license-and-install-it |
…n package; details below: - The cause was the Syncfusion static web asset being used - Additional notes: - The Syncfusion FE assets are intentionally out of sync with the NuGet package to fix the runtime error and prevent a licensing error occurring in later versions - Future update should reference the static web asset from the NuGet package instead of the CDN to couple the versions - see: microsoft#530 - Relevant issue: https://www.syncfusion.com/forums/179195/json-convert-error-after-upgrade-from-20-3-0-47
I have broken Click Statistics page.
Can you help me?
The text was updated successfully, but these errors were encountered: