Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9995

scheduled task form values cannot be blanked out when a blank value is valid

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: Scheduled Tasks, UI
    • Labels:
      None
    • Environment:
      Chrome MacOSX
    • Story Points:
      0.5
    • Sprint:
      Sprint 66 - Föhn

      Description

      While testing the Remove Snapshots From Maven Repository task, I had it saved with a value in the "Grace Period after release (days)" field. When I tried to erase this value and save, the value restored.
      This field is not required (is optional) so there is no reason the value should not be able to be erased.

      On analysis is was speculated this behavior would affect all tasks however this is the first task where there is a number value that can be nulled out in this way.
      In fact, I tried to find a number example against the entire site but could not find one (there are string examples but string is much easier to be empty).

      This behavior does not affect NX2. This task is new to Homeslice so I did not check older NX3 as I don't believe it'd be anywhere. But further fields (tasks but maybe any fields) created in this way will likely be affected.

      The workaround is to delete the task and recreate it, however, I am leaving major as that workaround is pretty annoying.

        Attachments

          Activity

            People

            Assignee:
            jtom Joe Tom
            Reporter:
            jtom Joe Tom
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title