pnp / pnp/pnpframework

[Bug] Not able to invoke or retrieve property of list under UpdateListItem()

Open
#807 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

  • Currently, the program is not able to overwrite already existing list rows based on KeyColumn property.

  • This results in duplicate creation of list items during the invoke operation through site-template.

  • As shown below, the issue arises when the function is trying to know the BaseType and RootFolder of the respective list.
    image

  • The following exception shows up once the above line is executed.
    image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing UpdateListItem() during a site-template invocation, focusing on the BaseType and RootFolder lookup described in the issue. Reproduce the exception and verify that existing rows are overwritten using KeyColumn rather than creating duplicate list items.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.