Azure / LogicAppsUX

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

"Discard" isn't behaving as expected. #4928

Open chuyangguangshin opened 1 month ago

chuyangguangshin commented 1 month ago

Describe the Bug with repro steps

  1. Create a workflow。
  2. Make some change and save.
  3. Test it to make sure changes take effect.
  4. Make second change and save
  5. Test it to make sure the second change take effect.
  6. Make the third change and "Discard" the change.
  7. The final reverted workfllow is the workflow when open the editor, not the workflow saved after second change. If we open the editor for a couple of days and save many times. When we just want dicard latest change, the Discard button discard all the change these days. It should only dicard changes after last save.

What type of Logic App Is this happening in?

Standard (Portal)

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

No response

Screenshots or Videos

No response

Browser

Edge

Additional context

No response

Eric-B-Wu commented 1 month ago

We have some work on this that @rllyy97 is working on. As we have a deployment hold currently, we'll try to have this change in an upcoming release