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

Enhance Lightning Grid error: doesn't show values in certain columns #79

Open
ErikReiken opened this issue Oct 25, 2022 · 5 comments
Open

Comments

@ErikReiken
Copy link

ErikReiken commented Oct 25, 2022

Hi,

I have been using ELG for quite some time in my org, but since Winter '23 release, the application I use it for does not work properly, anymore.

I have a fieldset on Opportunity Product that includes 5 fields.

  • When dsplayed on a Opportunity, it shows the content of the first 2 columns, the other three remain empty
  • When I edit the lightning page, an error is shown:
    Message: "Uncaught Error during LWC component connect phase: [Cannot convert undefined or null to object]"
  • When I create a ne fieldset with only the column OPPORTUNITY PRODUCT NAME, it displys no error. When I add one more field to the fieldset, the error occurs.
  • The fields are a mix of standard and custom fields

Anyone who can help me with this or recognizes the same issue?

Much obliged in advance,
Erik.

Links to error and view of the empty columns:
Error

Enhance Lightning Grid

@ErikReiken ErikReiken changed the title Enhance Lightning Grid doesn't show values in certain columns Enhance Lightning Grid error: doesn't show values in certain columns Oct 25, 2022
@Rachlind
Copy link

I am having the same issue but on orders. We noticed it works until we add the quantity field. We would like to get this resolved sooner rather than later as this is hindering/slowing down review of orders for invoicing without this working.
Thank you.

@ErikReiken
Copy link
Author

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

@Rachlind
Copy link

Hi Erik,
Thank you for that. I didn't even think to convert it to a text value. That seems to have worked.
Much appreciated :)
Rachel

@Rachlind
Copy link

Hi There,
This seems to have worked in some cases but not in others. Also, it isn't going backwards and fixing things that were already created.
Not sure what is happening. Has anyone else come up with any ideas?

@joanjackson
Copy link

I see where this is still an open issue and it is happening to me. I have fields in my fieldset that are number (3,2) fields that display decimal values. This grid component errors whenever I have any of those fields in my fieldset. When I remove them, the grid works fine. I'm not sure I understand why this is not set up to handle number fields from Salesforce.

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