Azure / LogicAppsUX

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

Standard_ Workflow parameters : There is change in view of parameters in read only mode and edit mode. Array parameters is not showing in brackets(in both edit and read only mode) and boolean value is not shown in read only mode. #2227

Closed vgouth closed 1 year ago

vgouth commented 1 year ago

Describe the Bug with repro steps

1.Create a new stateful logic app in standard, open the designer. 2.Validate if 'Parameters' command button shows 3.Add some parameters, save and run it. 4.After creating some parameters, the parameters should continue to be shown in the parameters panel. Open up the parameters panel. The parameters should be in read-only mode. Click on the name of the parameter to expand. Expected: Parameters should be in orginal mode. Actual: There is change in view of parameters in read only mode and edit mode. Array parameters is not showing in brackets( both edit and read only mode) and boolean value is not shown in read only mode.

What type of Logic App Is this happening in?

Standard (Portal)

Are you using Preview Designer or GA Designer

Preview

Workflow JSON

{
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "actions": {
      "Response": {
        "type": "Response",
        "kind": "Http",
        "inputs": {
          "statusCode": 200,
          "body": "@parameters('a')"
        },
        "runAfter": {}
      }
    },
    "contentVersion": "1.0.0.0",
    "outputs": {},
    "triggers": {
      "When_a_HTTP_request_is_received": {
        "type": "Request",
        "kind": "Http"
      }
    }
  },
  "connectionReferences": {},
  "parameters": {
    "a": {
      "type": "Array",
      "value": [
        1,
        2
      ]
    },
    "b": {
      "type": "Bool",
      "value": true
    },
    "c": {
      "type": "Int",
      "value": 123
    },
    "d": {
      "type": "String",
      "value": "abcdef"
    }
  }
}

Screenshots or Videos

image image

Browser

Edge

Additional context

Environmental Details:

URL: https://aka.ms/emastaging Version : 2.20501.1.1

preetriti1 commented 1 year ago

Functionally it is not changing the value, this is just display issue.

vgouth commented 1 year ago

Issue repro in the latest request:

Environment Details: URL: https://aka.ms/emastaging-flowstip1 Version: 2.30508.1.1

image image

vgouth commented 1 year ago

Issue repro in latest artifact.

  1. VS Code extension – vscode-azurelogicapps-2.15.15.vsix
  2. NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzczMDA5ODA5L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.21.3.nupkg
  3. Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting
  4. Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.21.3/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.21.3_any-any.zip
  5. Resources vsix. vscode-azureresourcegroups-LA.vsix