Skip to content

Error on addColumnAdapter for column: undefined, error: Error: ***Invalid GUID string: "undefined" #8859

@generosocarbone

Description

@generosocarbone

Target SharePoint environment

SharePoint Server 2019 (on-premise)

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • Microsoft Edge v111.0.1661.54 (Official build) (64-bit) [No other browsers can be used]
  • SPFx v1.4.1
  • Node.js v8.17.0
  • gulp-cli v2.3.0
  • yo v2.0.6
  • @microsoft/generator-sharepoint v1.10.0
  • Last updates: KB5002330, 5002358 (I think that it is a this point that the issue occurred), KB5022782

Describe the bug / error

Whenever the user updates a value of a list where the field customizer is installed, in the dev tools this shown:
Error on addColumnAdapter for column: undefined, error: Error: ***Invalid GUID string: "undefined"

If the user refreshes the page, the value inside the list are correctly updated.

The extension works correctly in the workbench.

similare to issue #1122

Steps to reproduce

  1. Create a new Field Customizer Extension
  2. Deploy and install the Field Customizer
  3. Update values on a list

Expected behavior

Example, list item has 4 columns of numbers, the last one is the field customizer. Update the item by double-clicking on it and change the values in the form
Original item => 1, 3, 4, 5
User update => 2, 3, 4, 5
Expected result => 2, 3, 4, 5
Actual result => 1, 3, 4, 5 with the error above in the console
Page Refresh
Expected result => 2, 3, 4, 5
Actual Result => => 2, 3, 4, 5

It does not matter which field is updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:archive-old-issueIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions