Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 7.7.0.GA
    • Fix Version/s: None
    • Component/s: Business Central
    • Labels:
    • Environment:

      PAM 7.7, EAP 7.2

    • Steps to Reproduce:
      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).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                r_anand Rishiraj Anand
                Reporter:
                karina.varela Karina Varela
                Tester:
                Barbora Siskova
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: