Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to edit the image on webapp #1308

Closed
4 tasks
AchalaBelokar opened this issue Aug 16, 2024 · 1 comment
Closed
4 tasks

Not able to edit the image on webapp #1308

AchalaBelokar opened this issue Aug 16, 2024 · 1 comment
Assignees

Comments

@AchalaBelokar
Copy link

AchalaBelokar commented Aug 16, 2024

Describe the bug

Not able to edit(clicking on cross-delete icon) the image on webapp web app is breaking while doing this
Login with AchalaB@rwbitiuat
and search any work order then edit and then click on cancel the image

this error is comming

Message

this.getValueWrapper(...).toggleAnswer is not a function

Error Stack
TypeError: this.getValueWrapper(...).toggleAnswer is not a function
at n.value (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:1183683)
at e.value (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:1441199)
at e.value (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:1444323)
at Object.updateObservations (https://prerelease.avniproject.org/static/js/main.12e64479.chunk.js:1:38847)
at Object.updateObservations (https://prerelease.avniproject.org/static/js/main.12e64479.chunk.js:1:1128619)
at https://prerelease.avniproject.org/static/js/main.12e64479.chunk.js:1:977758
at D (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:4192829)
at Generator._invoke (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:4192617)
at e. [as next] (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:4193008)
at A (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:2067566)

Saga Stack
at Nu
at Ji
at kt
at St
at l
at Ct
TypeError: this.getValueWrapper(...).toggleAnswer is not a function
at n.value (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:1183683)
at e.value (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:1441199)
at e.value (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:1444323)
at Object.updateObservations (https://prerelease.avniproject.org/static/js/main.12e64479.chunk.js:1:38847)
at Object.updateObservations (https://prerelease.avniproject.org/static/js/main.12e64479.chunk.js:1:1128619)
at https://prerelease.avniproject.org/static/js/main.12e64479.chunk.js:1:977758
at D (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:4192829)
at Generator._invoke (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:4192617)
at e. [as next] (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:4193008)
at A (https://prerelease.avniproject.org/static/js/2.cd1709e8.chunk.js:1:2067566)

To Reproduce
Steps to reproduce the behavior:

  1. Login with rwbnitiuat
  2. Search a work order 003
  3. click on edit the work order
  4. and then cancel the image which is present
  5. See error

Expected behavior
user is able to cancel the image\

Screenshots

Screen.Recording.2024-08-16.at.5.25.53.PM.mov

in your problem.

Analysis
Issue present in prod as well

Developer Checklist(Developer fixing the bug should fill this checklist)

  • Does the fix require extensive regression testing?
    • Yes
    • No
  • Are you mentioning the required scenarios that could be affected?
    • Yes
    • No
@1t5j0y 1t5j0y self-assigned this Aug 19, 2024
@1t5j0y
Copy link
Contributor

1t5j0y commented Aug 19, 2024

Unable to simulate with multi select element. Looks like a case of form element changed from single select to multi select.
No fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants