Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
75 stars 81 forks source link

Data Mapper cannot find schemas after updating extension to v2.86.2 #3836

Closed chris-w-dev closed 10 months ago

chris-w-dev commented 10 months ago

Describe the Bug with repro steps

After updating the VSCode extension to version v2.86.2, Data Mapper tries to load schema files from folder <project root>\workflow-designtime\Artifacts\Schemas while they are actually located in <project root>\Artifacts\Schemas. Not sure if this change was intentionally or not.

Reproduction steps:

  1. Create a new Logic App project
  2. Close and reopen VSCode to enforce creation of folder workflow-designtime
  3. Add schema.json to folder \Artifacts\Schemas
    {
     "type": "object",
     "properties": {
       "prop1": {
         "type": "string"
       }
     }
    }
  4. Add test.lml file to folder \Artifacts\MapDefinitions
    $version: 1
    $input: JSON
    $output: JSON
    $sourceSchema: schema.json
    $targetSchema: schema.json
    root:
     prop1: /root/prop1
  5. Load existing data map test.lml in designer

Result:

Screenshots or Videos

No response

Version

v2.86.2

Additional context

No response

DanielleCogs commented 10 months ago

Thank you for reporting this issue! We realized that there was a fix that did not make it into our release- the fix with the new version should be available in a few hours!