githubbob42 / mingle2github2

0 stars 1 forks source link

Field Updates: values missing when adding item with details #5786

Closed githubbob42 closed 5 years ago

githubbob42 commented 5 years ago

Mingle Card: 6152 Resolved as part of #6078

Steps to Reproduce

| | |
|-|-|
|**Version #**|4211|
|**Hardware**| |
|**OS**| |
|**Browser**|chrome|
|**Username**| |
|**Password**|Use LastPass|
|ORG ID| |
|User ID| |
|RayGun Error ID| |
  1. add a createorTriggeringUpdate field action on ticket item
    1. make sure the fields being set are editable, but are marked readonly on the layout
  2. add item using wizard and select “add with details”
  3. edit item to trigger values to get set via field updates
  4. save item

Expected Result

Item is saved with values last seen while “adding with details” – including the readonly fields that were set via field updates

Actual Result

Readonly fields that were set via field updates are lost until the user opens the created ticket item and edits it one more time

Analysis

The ticket item wizard uses ticket/item/new-form to display a form if the user chooses to “add with details” or if the item has validation errors. This form doesn’t capture any readonly fields.

Related Cards

Impact Analysis

Developers: Fill in this area during code review.

Test Plan

PASS

This card has been tested and merged with card #6078

githubbob42 commented 5 years ago

Pull Request #3027