Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Remove generated dialog (forms) is broken #4505

@hatpick

Description

@hatpick

Describe the bug

When I remove a generated dialog from form dialog, it only removes files related to the top level dialog. All the lu and lg files for the properties remain on the disk which will cause a merging problem if I re-generate the dialog from the schema.

Version

Latest on main.

Browser

All browsers + electron.

OS

All platforms.

To Reproduce

Steps to reproduce the behavior:

  1. Build composer with forms feature flag.
  2. Create a form dialog schema.
  3. Generate dialog.
  4. Go to the generated dialog.
  5. Select remove this dialog from the project tree.
  6. See the error as well as check the bot project file to see they are not removed.

Expected behavior

The entire files/dirs related to this dialog should be removed.

Note: router.delete('/formDialogs/:projectId/:dialogId', FormDialogController.deleteDialog);

Metadata

Metadata

Assignees

Labels

Area: Form DialogsThe creation of an adaptive dialog from a schema defined by creating a formR11Release 11 - November 15th, 2020Team: AuthoringType: BugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions