microsoft / microsoft/PowerPlatformConnectors

[BUG] Custom Connector Policies Github Build fails but paconn validate passed.

Open
#2,881 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
1.3k
Forks
1.5k
Avg merge
5d 15h
Merged PRs (30d)
11

Description

Type of Connector

Independent Publisher Connector

Name of Connector

FreeAgent

Describe the bug

Connection Validation Passed. But when submitted for an update the same code in the Properties file is failing with an error.

"x-ms-apimTemplateParameter.newPropertyPath". This was working well in the previous version. Is the validation algorithm changed in the recent times ?.

PR : https://github.com/microsoft/PowerPlatformConnectors/pull/2880

Github Build Failure : https://github.com/microsoft/PowerPlatformConnectors/pull/2880/checks?check_run_id=16045018407

Is this a security bug?

No, this is not a security bug

What is the severity of this bug?

Severity 3 - Minor issue

To Reproduce

Build any connector with stringreplace policy in combination with newPropertyPath

Expected behavior

Build should complete without any validation errors.

Environment summary

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build)
CLI version (paconn --version)
OS version
Shell Type (e.g. bash, cmd.exe, Bash on Windows)

Additional context

I already Published the FreeAgent last year. Now, i just wanted to add some few properties to the existing swagger file. I never touched the policy properties file. But the build is failing..

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 with PR #2880 and its GitHub build check, then reproduce the failure for a connector using a stringreplace policy with newPropertyPath. Compare the failing build validation with paconn validate; done means the connector build completes without validation errors.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.