microsoft / microsoft/powerplatform-vscode

Getting an error while using MultiSelectOptionSet

Open
#983 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
277
Forks
60
Avg merge
1d 1h
Merged PRs (30d)
14

Description

Current versions:
pcf-scripts: 1.32.5
pcf-start: 1.32.5

I'm currently building a PCF control that uses a MultiSelectOptionSet property.

So, I have added a new property in ControlManifest.Input.xml as shown below:

image

With this, if I run the following command: pcf-scripts refreshTypes, I'm getting the below error, and the ManifestTypes.d.ts files does not contain the updated input/output properties:

image

So upon further investigating, I'm thinking that this code here in manifestTypesGenerator.js could be the crux of this problem.
image

Not exactly sure why this condition is different from the ones above it. So any help with this is greatly appreciated, and I'm also happy to provide any further context if needed.

Thanks

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

Reproduce the issue with a ControlManifest.Input.xml property using MultiSelectOptionSet and the listed pcf-scripts versions. Start by reading manifestTypesGenerator.js and the refreshTypes entry point, then compare the generated ManifestTypes.d.ts with the manifest's input and output properties. Done means refreshTypes completes without the reported error and generates the updated properties.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.