Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5546

Fail to display changelog of Quality Profile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.5
    • Component/s: Quality Profile
    • Labels:
      None

      Description

      When a profile change was done by a user who was deleted since, changelog page fails on :

      2014.08.28 15:54:04 ERROR [o.s.s.ui.JRubyFacade]  Fail to render: /profiles/changelog?key=******
      undefined method `emtpy?' for "*****":String
      On line #36 of app/views/profiles/changelog.html.erb
          33:           <%
          34:              action = change.action()
          35:              action_message = message('quality_profiles.changelog.' + action.downcase) if action
          36:              author = change.authorName() ? change.authorName() : change.login() ? !change.login().emtpy? : 'System'
          37:              rule = change.ruleName() ? change.ruleName() : change.ruleKey()
          38:           %>
          39:           <td valign="top" width="1%" nowrap><%= Internal.i18n.formatDateTime(change.time()) -%></td>
      

        Attachments

          Activity

            People

            Assignee:
            simon.brandhof Simon Brandhof (Inactive)
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: