Azure / LogicAppsUX

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

Standard_ Workflow parameters : Parameters with empty names still exist after closing and opening the parameter panel. #2224

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

  1. Keep some parameter names empty and try closing the panel. You should see below UI with a popup stating the confirmation to close the panel. 4.Expected: Validate on opening the parameters panel again, removes the parameters with empty names. Actual: Parameters with empty names still exist after closing and opening the parameter panel.

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": {},
    "contentVersion": "1.0.0.0",
    "outputs": {},
    "triggers": {}
  },
  "connectionReferences": {},
  "parameters": {
    "a": {
      "type": "Array",
      "value": [
        1,
        2
      ]
    },
    "b": {
      "type": "Bool",
      "value": true
    },
    "": {
      "type": "Array"
    }
  }
}

Screenshots or Videos

image

Browser

Edge

Additional context

Environmental Details:

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

vgouth commented 1 year ago

Issue repro in the latest request:

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

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
rllyy97 commented 1 year ago

This is expected behavior going forward. Parameters will not delete unless the user specifically clicks on the delete button.