Skip to content
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

Uncaught Error during LWC component connect phase: [Cannot convert undefined or null to object] #76

Open
AngelMtz97 opened this issue Sep 15, 2022 · 3 comments

Comments

@AngelMtz97
Copy link

AngelMtz97 commented Sep 15, 2022

Summary

Calling an API and loading the data on the table cause an error, the response of the API is correct and was validated. The error was reported after winter 23 release update.

After testing our code, we found that using this method causes the error, trying to convert to Double.

private List<grishield.SDGField> GetFields() { List<grishield.SDGField> fields = new List<grishield.SDGField>(); fields.add( new grishield.SDGField('1', 'AMOUNT USED', 'FieldName__c', 'DOUBLE', '', false, false, null, 5)); }

Actual result
Error Componente

@Rachlind
Copy link

We use this application on Salesforce Orders. And after Winter 23 release we too are seeing this error. We narrowed it down to the Quantity field (standard salesforce field). If we remove that from the grid the grid renders results. If we do not remove it then the grid shows empty except for its link to the source record.
We urgently need a work around or fix to be able to add the quantity back. Our month end is next week and this is slowing down if not holding up the processing of orders and sending them for invoicing.
Thank you.
Rachel

@ErikReiken
Copy link

I report the same issue on my org. More details on my situation (same error) in this Issue: #79

@ErikReiken
Copy link

PS: I have created a work around for now: I have created a formula field that displays OLI.Quantity in text. That is displyed in the ELG. And the error has gone.
PPS: If the formula displays Quantity in number, the error still persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants