Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-7035

Creating review from Commit Graph results in Changeset not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.7.1, 3.8.0
    • 3.6.1
    • None

    Description

      When creating a review from the Commit Graph the commit hash is added to the Objectives section in the review, but when hovering this hash it says "Changeset not found":

      When clicking in the hash, the following shows up in the log:

      2014-11-17 11:40:52,137 INFO  [qtp675749235-180 ] fisheye ServletUtils-send404 - 404: No such repository: null referer=http://localhost:8060/cru/CR-22
      

      In the browser:

      Steps to Reproduce

      1. Navigate into the repository > Commit Graph.
      2. Select a commit.
      3. Click the cog icon > Create Review.
      4. Select the project and click in Create Review.
      5. Click in Done to finish the creation.
      6. Check the commit hash is shown under Objectives. Hover it to verify the changeset is not found, then click on it to reproduce the error.

      Cause

      • As observed in the INFO message in the logs, it is passing the repository value as "null".

      Workaround

      1. In the Objectives section, click in Edit, then observe the value for rep is set to null:
      2. Set it to the name of the repository and click to save it:
      3. Hover the hash and observe it is now found:

      Attachments

        1. bug1.png
          bug1.png
          32 kB
        2. bug2.png
          bug2.png
          57 kB
        3. bug3.png
          bug3.png
          38 kB
        4. bug4.png
          bug4.png
          38 kB
        5. bug5.png
          bug5.png
          41 kB

        Issue Links

          Activity

            People

              glewandowski Grzegorz Lewandowski
              grefosco Gustavo Refosco (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: