Azure / LogicAppsUX

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

Index-function does not seem to work json schema -> xsd #3607

Open magnarw opened 9 months ago

magnarw commented 9 months ago

Describe the Bug with repro steps

I'm trying to use the value of the current index to map to an element in the target loop record

  1. Add source loop to index-function
  2. Add number-propery in target loop record as target value for the function
  3. Run test

Screenshots or Videos

image

image

Version

v2.75.0

Additional context

You can look at the example on working with here:

https://github.com/magnarw/DataMapperDemo/

AB#25720537

DanielleCogs commented 8 months ago

Was able to reproduce this issue from the frontend side. Seems to be an issue specifically with Index, as I was able to get successful test results with other functions. Seems like a backend issue, so reassigning.

pariksg commented 8 months ago

The map code Backup.yml shown in the image is correct, and mapper backend would generate correct xslt and will work. But the diagram doesn't seem to be in sync with the map code.

SanjivGupta-SanGupt commented 8 months ago

The diagram shows a wrong map. I believe map checker must throw an error here and prevent XSLT generation and testing. @DanielleCogs - this needs investigation from front-end side.

azure-boards[bot] commented 6 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 6 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 6 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 6 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 6 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 6 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 6 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] commented 6 months ago

❌ There was a problem linking to Azure Boards work item(s):

Please check the IDs and try again using the AB# syntax. Learn more