Azure / LogicAppsUX

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

The designer is empty but the code is not. #3116

Closed mikaelsand closed 10 months ago

mikaelsand commented 11 months ago

Describe the Bug with repro steps

  1. Deployed a workflow using YAML pipelines, base of https://github.com/Azure/logicapps/blob/master/azure-devops-sample/.pipelines/classic/cd-pipeline.yml
  2. The workflow is simple, receive request, get an image from a blobstore and return it in the response.
  3. When looking in the portal, the code view shows the code but the designer is empty-
  4. Using VS code both views work.

What type of Logic App Is this happening in?

Standard (VSCode)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Get_Imagefile": {
                "type": "ServiceProvider",
                "inputs": {
                    "parameters": {
                        "containerName": "mycontainer",
                        "blobName": "thinking-emoji-by-twitter.png"
                    },
                    "serviceProviderConfiguration": {
                        "connectionName": "AzureBlob",
                        "operationId": "readBlob",
                        "serviceProviderId": "/serviceProviders/AzureBlob"
                    }
                },
                "runAfter": {},
                "runtimeConfiguration": {
                    "secureData": {
                        "properties": [
                            "inputs"
                        ]
                    }
                }
            },
            "Response": {
                "type": "Response",
                "kind": "Http",
                "inputs": {
                    "statusCode": 200,
                    "body": "@body('Get_Imagefile')?['content']"
                },
                "runAfter": {
                    "Get_Imagefile": [
                        "SUCCEEDED"
                    ]
                }
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "triggers": {
            "When_a_HTTP_request_is_received": {
                "type": "Request",
                "kind": "Http",
                "inputs": {
                    "method": "GET"
                }
            }
        },
        "parameters": {}
    },
    "kind": "Stateful"
}

Screenshots or Videos

logicappstandard

Browser

Additional context

I feel the whole "deploy using CI/CD pipelines" is far from clear.

AB#24819808

rllyy97 commented 11 months ago

Hi @mikaelsand, thanks for reporting your issue! Normally if there's an issue during deserialization, the workflow will fail to load and will show an error message, so the fact that your workflow is loading as if it instead had no actions is strange behavior to me...

If you don't mind, to help us investigate further could you gather the console errors and a network trace of you trying to load your workflow? You can find steps to do that here, and you can send the files to me at rileyevans@microsoft.com

github-actions[bot] commented 11 months ago

We requested more information to triage this issue. If the issue goes more than 7 days with no more information it'll be automatically closed.

github-actions[bot] commented 10 months ago

This issue has been closed because the information requested wasn't provided within 7 days.

mikaelsand commented 10 months ago

DOH! I missed the fact that you responded.