pnp / pnp/powershell

[BUG] Export-PnPTaxonomy failed with lcid for termset containing synonyms

Open
#5,466 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
904
Forks
407
Avg merge
9h 16m
Merged PRs (30d)
10

Description

Hi guys

Export-PnPTaxonomy with lcid parameter failed when synonyms are set on a term :

Export-PnPTaxonomy -Path $csvPath -TermSetId $termSet.Id -Lci …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Sequence contains more than one matching element

Contributor guide

Open the contributing guide

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 reproducing Export-PnPTaxonomy with the -Lcid parameter on a term set containing synonyms, using the command and error shown in the issue. Then locate the cmdlet's taxonomy export implementation and identify the failing lookup; done means the export succeeds for synonym-containing term sets and the regression is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.