Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-82648

Cannot delete data provider that has already been used by a deleted form

    Details

      Description

      Steps to reproduce:

      1. Go to Content > Forms > Data Providers
      2. Create a data provider, e.g Get Countries
      3. Go to Content > Forms
      4. Add a Form
      5. Add a Select Field which uses this data provider
      6. Save Form
      7. Go to Content > Forms > Data Providers
      8. Try to delete the data provider created in step #2
      9. Assert a message error is thrown, saying that a data provider in use cannot be deleted
      10. Go to Content > Forms
      11. Delete the Form you just created
      12. Go to Content > Forms > Data Providers
      13. Try to delete the data provider created in step #2

      Expected result:
      User can delete the Data Provider

      Actual result:
      A message error is thrown, saying that a data provider in use cannot be deleted, even though the form which used the data provider has been deleted.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 6 weeks, 5 days ago

                Packages

                Version Package
                7.1.X
                Master