Uploaded image for project: 'ONE'
  1. ONE
  2. ONE-31784

Card Views. It is possible to remove the last row or field from the Card View

    XMLWordPrintable

Details

    • No
    • Tree
    • BigPicture, BigGantt
    • JIRA server, JIRA cloud
    • 13
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_18501"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_18502"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19700"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_18400"); if(cfToHide4){cfToHide4.style.display="none";}
    • 1 minute, 59 seconds
    • 1 day, 21 hours, 42 minutes, 59 seconds
    • 1 day, 19 hours, 32 minutes, 33 seconds
    • 3 hours, 6 minutes, 54 seconds
    • 31 minutes, 20 seconds
    • 34 minutes, 54 seconds
    • 3 days, 22 hours, 59 minutes, 42 seconds

    Description

      This is the reason why you cannot add a new field to a view that has no fields

      Prerequisites: At least one Box with active Board module has been created.

      Steps to reproduce:

      1. Navigate to Configuration of Box as in Prerequisites
      2. Select Board/Risk card view
      3. Add new Card view
      4. Click 'Delete row' button for all fields
      5. Add new row
      6. Move field from above row to the newly added row and delete it (this operation must be do very quickly until ‘Delete row’ icon is visible)
      7. Refresh the page
      8. Add new field to the row/ add new row and field to it

      Actual Result 
      After step 4. The ‘Delete row’ icon is not available for the last field/ row, but in some specific operation user can delete last one field, and the row will be empty.

      After step 7. ‘Delete row’ button is visible next to last one row. The row is empty.

      After step 8. The field with information about error appears. There is ‘500’ error in console

      Expected Result 
      After step 4. The ‘Delete row’ icon is not available for the last row

      After step 6. The field with information about error appears: 'You can't have an empty Card View. Add a new row and field before deleting the old one.'

      After step 7. ‘Delete row’ button is not visible next to last one row. The row contain at least one field 

      After step 8. New field has been added

       

      Workaround: Delete Card View and create new one. At least one field must be left.

      Attachments

        Activity

          People

            pawel.wesolowski Pawel Wesolowski
            pawel.wesolowski Pawel Wesolowski
            jakub.zygmunt Jakub Zygmunt , pawel.guz Pawel Guz , system.jenkins Jenkins , martyna.turowska Martyna Turowska , grzegorz.duzy Grzegorz Duży , anna.kicior Anna Kicior , piotr.zadora Piotr Zadora , system.gerrit Gerrit , pawel.wesolowski Pawel Wesolowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: