Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-581

[Project Oriented] Impossible to delete "broken projects"

    XMLWordPrintable

Details

    • ER1
    • CR1
    • Hide

      Workaround to be done on command line when application server is stopped

      1. delete project repo from .niogit/SPACE/BROKEN_REPO
      2. checkout .niogit/system/system.git
      3. revert commit which added the project from system.git
      4. push change to system.git

      Show
      Workaround to be done on command line when application server is stopped 1. delete project repo from .niogit/SPACE/BROKEN_REPO 2. checkout .niogit/system/system.git 3. revert commit which added the project from system.git 4. push change to system.git
    • Hide

      In Projects perspective import the following (old structure) project from URL
      https://github.com/guvnorngtestuser1/jbpm-console-ng-playground-kjar.git

      You'll get error (see screenshot). It's impossible to delete that project from UI, because you have to open it (which is impossible in this case).

      Show
      In Projects perspective import the following (old structure) project from URL https://github.com/guvnorngtestuser1/jbpm-console-ng-playground-kjar.git You'll get error (see screenshot). It's impossible to delete that project from UI, because you have to open it (which is impossible in this case).

    Description

      When you import a project with old (unsupported) structure you'll get useless javascript error (screenshot). The problem in this case is that it's impossible to delete the project from the UI (because to delete the project you have to OPEN it first,which is impossible in this case).

      This is not an edge case - we can expect people will be trying to import all kinds of "OLD" (pre 7.0) projects they have. When such a project is imported, it's impossible to delete it.

      It is possible to delete it manually from command line (see workaround), but the steps are relatively complex.

      We've got a failing community selenium test which is failing because of this error . I marked it using @Ignore annotation. Please remove the Ignore when fixing this (and possibly update the test or contact me (jhrcek) for assistance).

      Attachments

        Issue Links

          Activity

            People

              trikkola Toni Rikkola
              jhrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: