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

After deleting the Question Group child of that group is not voided #1262

Open
4 tasks
AchalaBelokar opened this issue Jun 21, 2024 · 0 comments
Open
4 tasks
Labels
bug Something isn't working

Comments

@AchalaBelokar
Copy link

AchalaBelokar commented Jun 21, 2024

Describe the bug
After voiding a Question Group form element, error is shown on performing the encounter.

To Reproduce
Steps to reproduce the behavior:

  1. Login with dinesh@dineshbootcamp
  2. go to the app designer
  3. go to the individual registration form delete the Question Group form element (it should have some child form elements).
  4. Sync and perform individual registration
  5. On click of next after page 1,
  6. error is shown - Cannot read property 'concept' of undefined.

Analysis
Issue is because child form elements in a question group are not voided when the question group form element is voided.
Because of the above, the app tries to process the child form elements but breaks when trying to retrieve and use parent form element.

Expected behavior
A clear and concise description of what you expected to happen.

Test Data
Give details of example users, environment detail, username against which this issue is happening.

Screenshots
If applicable, add screenshots to help explain your problem.
qg error

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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
@AchalaBelokar AchalaBelokar added the bug Something isn't working label Jun 21, 2024
@github-project-automation github-project-automation bot moved this to New Issues in Avni Product Jun 21, 2024
@mahalakshme mahalakshme moved this from New Issues to Triaged in Avni Product Jun 21, 2024
@mahalakshme mahalakshme moved this from Triaged to Focus Items in Avni Product Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Focus Items
Development

No branches or pull requests

1 participant