console icon indicating copy to clipboard operation
console copied to clipboard

OCPBUGS-800: Name of workload get changed, when project and image stream gets changed on reloading the form on the edit deployment page of the workload

Open Lucifergene opened this issue 2 years ago • 18 comments

Fixes: https://issues.redhat.com/browse/OCPBUGS-800

Analysis / Root cause: Name of workload get changed, when project and image stream gets changed on reloading the form on the edit deployment page of the workload

Solution Description:

Reset the formType when the Reload button is pressed.

Screen shots / Gifs for design review:

https://user-images.githubusercontent.com/47265560/188634133-b83b2eca-cd78-4fd4-b7f3-fa033fd7e479.mp4

Unit test coverage report:

Not changed.

Test setup:

  1. Create a deployment workload
  2. Select Edit Deployment option on workload
  3. Verify initially name was same as workload name and field was not changeable.
  4. Change the project to "openshift", image stream to "golang" or anything and tag to "latest"
  5. Reload the form
  6. Now check that the name also got changed to golang.

Browser conformance:

  • [x] Chrome
  • [x] Firefox
  • [ ] Safari
  • [ ] Edge

Lucifergene avatar Sep 06 '22 12:09 Lucifergene

@Lucifergene: This pull request references Jira Issue OCPBUGS-800, which is invalid:

  • expected the bug to target the "4.12.0" version, but it targets "4.12.z" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Fixes: https://issues.redhat.com/browse/OCPBUGS-800

Analysis / Root cause: Name of workload get changed, when project and image stream gets changed on reloading the form on the edit deployment page of the workload

Solution Description:

Reset the formType when the Reload button is pressed.

Screen shots / Gifs for design review:

https://user-images.githubusercontent.com/47265560/188634133-b83b2eca-cd78-4fd4-b7f3-fa033fd7e479.mp4

Unit test coverage report:

Not changed.

Test setup:

  1. Create a deployment workload
  2. Select Edit Deployment option on workload
  3. Verify initially name was same as workload name and field was not changeable.
  4. Change the project to "openshift", image stream to "golang" or anything and tag to "latest"
  5. Reload the form
  6. Now check that the name also got changed to golang.

Browser conformance:

  • [x] Chrome
  • [x] Firefox
  • [ ] Safari
  • [ ] Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci-robot avatar Sep 06 '22 12:09 openshift-ci-robot

/jira refresh

Lucifergene avatar Sep 06 '22 12:09 Lucifergene

@Lucifergene: This pull request references Jira Issue OCPBUGS-800, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.0) matches configured target version for branch (4.12.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact: /cc @sanketpathak

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci-robot avatar Sep 06 '22 12:09 openshift-ci-robot

/retest

Lucifergene avatar Sep 07 '22 17:09 Lucifergene

/cc @divyanshiGupta

Lucifergene avatar Sep 07 '22 17:09 Lucifergene

/retest

Lucifergene avatar Sep 08 '22 21:09 Lucifergene

/retest

Lucifergene avatar Sep 09 '22 07:09 Lucifergene

/retest

Lucifergene avatar Sep 12 '22 06:09 Lucifergene

/retest

Lucifergene avatar Sep 15 '22 06:09 Lucifergene

/lgtm

divyanshiGupta avatar Sep 20 '22 11:09 divyanshiGupta

/hold

divyanshiGupta avatar Sep 20 '22 11:09 divyanshiGupta

/lgtm cancel

divyanshiGupta avatar Sep 20 '22 11:09 divyanshiGupta

/lgtm

divyanshiGupta avatar Oct 18 '22 08:10 divyanshiGupta

/hold

divyanshiGupta avatar Oct 18 '22 08:10 divyanshiGupta

/hold cancel

divyanshiGupta avatar Oct 18 '22 10:10 divyanshiGupta

/lgtm

divyanshiGupta avatar Oct 18 '22 10:10 divyanshiGupta

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: divyanshiGupta, Lucifergene

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Oct 18 '22 10:10 openshift-ci[bot]

@Lucifergene: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

openshift-ci[bot] avatar Oct 18 '22 12:10 openshift-ci[bot]

@Lucifergene: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-800 has been moved to the MODIFIED state.

In response to this:

Fixes: https://issues.redhat.com/browse/OCPBUGS-800

Analysis / Root cause: Name of workload get changed, when project and image stream gets changed on reloading the form on the edit deployment page of the workload

Solution Description:

Reset the formType when the Reload button is pressed.

Screen shots / Gifs for design review:

https://user-images.githubusercontent.com/47265560/188634133-b83b2eca-cd78-4fd4-b7f3-fa033fd7e479.mp4

Unit test coverage report:

Not changed.

Test setup:

  1. Create a deployment workload
  2. Select Edit Deployment option on workload
  3. Verify initially name was same as workload name and field was not changeable.
  4. Change the project to "openshift", image stream to "golang" or anything and tag to "latest"
  5. Reload the form
  6. Now check that the name also got changed to golang.

Browser conformance:

  • [x] Chrome
  • [x] Firefox
  • [ ] Safari
  • [ ] Edge

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci-robot avatar Oct 18 '22 18:10 openshift-ci-robot