Continuum
  1. Continuum
  2. CONTINUUM-1777

Able to create a build template without build definition

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1, 1.4.1
    • Fix Version/s: 1.4.2
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      Creating and editing a build definition template.
      It creates and saves the template without having a value in the Used Build Definition side.

      1. continuum-1777.patch
        9 kB
        John Michael Luy
      2. continuum-1777-tests.patch
        5 kB
        Gwen Harold Autencio

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          1847d 6h 43m 1 Brent N Atkinson 11/Jun/13 09:06
          Mark Thomas made changes -
          Workflow jira [ 12947635 ] Default workflow, editable Closed status [ 12985663 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
          Mark Thomas made changes -
          Flags Patch [ 10430 ]
          Patch Submitted Yes [ 10763 ]
          Mark Thomas made changes -
          Workflow jira [ 12710431 ] Default workflow, editable Closed status [ 12740143 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
          Brent N Atkinson made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Brent N Atkinson made changes -
          Summary It is possible to create a build definition template without a selected build definition Able to create a build template without build definition
          Brent N Atkinson made changes -
          Summary When configuring build definition template it accepts template created without having any build definition in "Used Build Definitions" section It is possible to create a build definition template without a selected build definition
          Brent N Atkinson made changes -
          Assignee Brent N Atkinson [ batkinson ]
          Brett Porter made changes -
          Fix Version/s 1.4.2 [ 18984 ]
          Fix Version/s 1.4.1 [ 15104 ]
          Gwen Harold Autencio made changes -
          Attachment continuum-1777-tests.patch [ 46964 ]
          Hide
          Gwen Harold Autencio added a comment -

          Hi,
          attaching unit and webapp test of John's patch.

          Show
          Gwen Harold Autencio added a comment - Hi, attaching unit and webapp test of John's patch.
          John Michael Luy made changes -
          Link This issue relates to CONTINUUM-2411 [ CONTINUUM-2411 ]
          Wendy Smoak made changes -
          Patch Submitted [Yes]
          John Michael Luy made changes -
          Attachment continuum-1777.patch [ 46807 ]
          Hide
          John Michael Luy added a comment -

          Attached patch that will disallow saving of template without any definition. Also will disallow deleting of a build definition that is in use by a template.

          Show
          John Michael Luy added a comment - Attached patch that will disallow saving of template without any definition. Also will disallow deleting of a build definition that is in use by a template.
          Wendy Smoak made changes -
          Fix Version/s 1.4.x [ 15104 ]
          Affects Version/s 1.4.x [ 15104 ]
          Hide
          Wendy Smoak added a comment -

          Confimed in 1.4.0-SNAPSHOT r814049. I can add a Build Definition Template without moving any Build Defs over to the 'Used' column. It should require at least one Build Definition before allowing the template to be saved.

          Also make sure that you cannot delete a Build Definition if it is in use by any Template. Or perhaps it's okay to delete it as long as it doesn't leave any Template with no other Build Defs.

          Show
          Wendy Smoak added a comment - Confimed in 1.4.0-SNAPSHOT r814049. I can add a Build Definition Template without moving any Build Defs over to the 'Used' column. It should require at least one Build Definition before allowing the template to be saved. Also make sure that you cannot delete a Build Definition if it is in use by any Template. Or perhaps it's okay to delete it as long as it doesn't leave any Template with no other Build Defs.
          Brett Porter made changes -
          Fix Version/s Future [ 13292 ]
          Wendy Smoak made changes -
          Fix Version/s Future [ 13292 ]
          Fix Version/s 1.x [ 14167 ]
          Brett Porter made changes -
          Field Original Value New Value
          Fix Version/s 1.x [ 14167 ]
          Maria Catherine Tan created issue -

            People

            • Assignee:
              Brent N Atkinson
              Reporter:
              Maria Catherine Tan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development