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

Branch never finish indexing after recreation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.7.0.GA
    • Business Central
    • PAM 7.7, EAP 7.2

    • Hide

      Keep your business central page open on the background so you can see the behavior.

      1. Create a project

      curl --request POST 'http://localhost:8080/business-central/rest/spaces/MySpace/projects' \
      --header 'Content-Type: application/json' \
      --header 'Authorization: Basic cmhwYW1BZG1pbjphc2Rhc2Rhc2Q=' \
      --header 'Content-Type: application/json' \
      --data-raw '

      {"name": "SampleProject"}

      '

      2. Add a branch

      curl --request POST 'http://localhost:8080/business-central/rest/spaces/MySpace/projects/SampleProject/branches' \
      --header 'Content-Type: application/json' \
      --header 'Authorization: Basic cmhwYW1BZG1pbjphc2Rhc2Rhc2Q=' \
      --header 'Content-Type: application/json' \
      --data-raw '

      {"newBranchName": "dev", "baseBranchName": "master"}

      '

      3. Delete this branch

      curl --request DELETE 'http://localhost:8280/business-central/rest/spaces/MySpace/projects/SampleProject/branches/dev/' \
      --header 'Authorization: Basic cmhwYW1BZG1pbjphc2Rhc2Rhc2Q=' \

      4. Add the same branch

      curl --request POST 'http://localhost:8080/business-central/rest/spaces/MySpace/projects/SampleProject/branches' \
      --header 'Content-Type: application/json' \
      --header 'Authorization: Basic cmhwYW1BZG1pbjphc2Rhc2Rhc2Q=' \
      --header 'Content-Type: application/json' \
      --data-raw '

      {"newBranchName": "dev", "baseBranchName": "master"}

      '

      Show
      Keep your business central page open on the background so you can see the behavior. 1. Create a project curl --request POST 'http://localhost:8080/business-central/rest/spaces/MySpace/projects' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic cmhwYW1BZG1pbjphc2Rhc2Rhc2Q=' \ --header 'Content-Type: application/json' \ --data-raw ' {"name": "SampleProject"} ' 2. Add a branch curl --request POST 'http://localhost:8080/business-central/rest/spaces/MySpace/projects/SampleProject/branches' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic cmhwYW1BZG1pbjphc2Rhc2Rhc2Q=' \ --header 'Content-Type: application/json' \ --data-raw ' {"newBranchName": "dev", "baseBranchName": "master"} ' 3. Delete this branch curl --request DELETE 'http://localhost:8280/business-central/rest/spaces/MySpace/projects/SampleProject/branches/dev/' \ --header 'Authorization: Basic cmhwYW1BZG1pbjphc2Rhc2Rhc2Q=' \ 4. Add the same branch curl --request POST 'http://localhost:8080/business-central/rest/spaces/MySpace/projects/SampleProject/branches' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic cmhwYW1BZG1pbjphc2Rhc2Rhc2Q=' \ --header 'Content-Type: application/json' \ --data-raw ' {"newBranchName": "dev", "baseBranchName": "master"} '

    Description

      When testing the branch API, I found a situation where business central doesn't show the files of the new branch because it doesn't index the files.

      It gets stuck on "Indexing has not finished". (Image attached).

      Attachments

        Activity

          People

            trikkola Toni Rikkola
            kvarela@redhat.com Karina Varela (Inactive)
            Tomas David Tomas David
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: