Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23797

Update offline cause message picks incorrect message from DiskSpace cause

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      I assume it makes sense for user to change cause type from DiskSpace to UserCause.

      When it is done OfflineCause.toString() is called to populate the offline cause text field. In case of DiskSpaceMonitorDescriptor.DiskSpace it is the number of free bytes. The actual message should be used instead.

        Attachments

          Issue Links

            Activity

            olivergondza Oliver Gondža created issue -
            olivergondza Oliver Gondža made changes -
            Field Original Value New Value
            Description I assume it makes sense for user to change cause type from {{DiskSpace}} to {{UserCause}}.

            When it is done {{OfflineCause.toString()}} is called to provide the original message. In case of {{DiskSpaceMonitorDescriptor.DiskSpace}} it is the number of free bytes. The actual message should be used instead.
            I assume it makes sense for user to change cause type from {{DiskSpace}} to {{UserCause}}.

            When it is done {{OfflineCause.toString()}} is called to populate the offline cause text field. In case of {{DiskSpaceMonitorDescriptor.DiskSpace}} it is the number of free bytes. The actual message should be used instead.
            olivergondza Oliver Gondža made changes -
            Assignee Oliver Gondža [ olivergondza ]
            olivergondza Oliver Gondža made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            olivergondza Oliver Gondža made changes -
            Link This issue is related to JENKINS-29286 [ JENKINS-29286 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 156587 ] JNJira + In-Review [ 195465 ]

              People

              Assignee:
              olivergondza Oliver Gondža
              Reporter:
              olivergondza Oliver Gondža
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: