Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1604

Identity.role is still used in the UI leading to duplicate instances on job page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • Scheduler
    • None
    • Twitter Aurora Q1'16 Sprint 18

    Description

      While trying to investigate AURORA-1603, found a bug in the UI that results in duplicate instances under the job page. The below code is now gone but the UI is still relying on it:

      Query.java
           if (query.isSetOwner()) {
              query.setRole(query.getOwner().getRole());
              query.unsetOwner();
            }
      

      I was able to repo this in vagrant by creating 2 prod/hello jobs with different roles: 'vagrant' and 'www-data' (see picture attached).

      Attachments

        1. vagrant_instance_dupes.png
          148 kB
          Maxim Khutornenko

        Issue Links

          Activity

            People

              maximk Maxim Khutornenko
              maximk Maxim Khutornenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: