137
Views
9
Comments
Solved
[OutSystems Data Grid] Missing JS Resource causes 404 error and subsequent render failure
outsystems-data-grid
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

When trying to load the Data Grid Reactive element on a page, there is a 404 error thrown. This particular error makes it so that data fetches on that page in a Reactive environment cannot fire.

The error happens when the grid is loading and trying to locate the Culture JS at the following location:

DataGridLanguageResources/wijmo.culture.en-US.min.js

Which doesn't exist. The closest one that exists is:

DataGridLanguageResources/wijmo.culture.en.min.js

The code needs to be updated to reflect the proper file (if this isn't the correct file)

2022-09-16 08-04-04
Bruno Martinho
Staff
Solution

Hello @Jordan Ashton 

A new version has been released - version 2.0.8

The problem that you have reported in not happening anymore, but please, after updating to this version, please rename again the resource file to the old name.

Please let me know if this worked for you,

Bruno Martinho.

2020-08-05 08-52-58
Ruben Goncalves

Hi @Jordan Ashton,

Thank you for bring this to our attention. The team will check what might be causing this (it's a bit beyond the obvious problem that a language file is missing)!

The team will keep you posted.

Cheers,

RG

2020-08-05 08-52-58
Ruben Goncalves

When trying to load the Data Grid Reactive element on a page, there is a 404 error thrown. This particular error makes it so that data fetches on that page in a Reactive environment cannot fire.

Indeed there's a 404, error, however I see no side-effect of it. Can you help me understand what problem is this 404 causing in your application? 

(btw, as a fallback if a language resource it's not found it defaults to DataGridLanguageResources/wijmo.culture.en.min.js )

Waiting for your reply.

2021-03-11 14-18-32
Jordan Ashton

@Ruben Goncalves In our application, this 404 error was making it so that no data fetches on the screen and any web blocks on the screen would run. Once we internally resolved the 404 error by renaming the file, the issue went away.

2022-09-16 08-04-04
Bruno Martinho
Staff

Hello @Jordan Ashton 

We are planning on releasing an hotfix to solve this problem.

We will let you know as soon as it is out, because when you update to that version, the file should be renamed again to wijmo.culture.en.min.js

Are you ok with this plan? There is no other option for us to fix the problem without breaking your workaround.

Thank you for bringing this issue to our attention.

Bruno Martinho

2022-09-16 08-04-04
Bruno Martinho
Staff
Solution

Hello @Jordan Ashton 

A new version has been released - version 2.0.8

The problem that you have reported in not happening anymore, but please, after updating to this version, please rename again the resource file to the old name.

Please let me know if this worked for you,

Bruno Martinho.

UserImage.jpg
ARS

@Bruno Martinho I'm running version 2.9.0 of the datagrid and I'm facing the same issue. The application works fine on my development environment but when I package and create a solution to deploy to my test environment, the installation happens smooth but when I browse the app, I get the same 404 error as mentioned in the original thread and there are no further data requests that happen. The page load flow gets trimmed and aborted.

Annotation 2022-11-14 172105.jpg
2020-08-05 08-52-58
Ruben Goncalves

Hi @ARS,

What language are you trying to set?

(We've tried to replicate the issue, but were not able.)

Thank you,

RG

UserImage.jpg
ARS

@Ruben Goncalves interestingly, I haven't set any preferences. just pick and drop the grid.

2022-11-12 11-28-30
Gonçalo Martins
Staff

Hi @ARS 

What is your current locale? Can you share a sample oml with that happening and describe the steps to reproduce?
Thanks in advance.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.