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

Auto calculation value is not updated because of this [ReferenceError: Property 'formElement' doesn't exist] #1040

Open
AchalaBelokar opened this issue Sep 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@AchalaBelokar
Copy link

Describe the bug
I login with hr@lfeteach on prerelease there is observation encounter in that encounter average score and feedback page. there is Average scores we calculated but it is not working on their is rule also prerelease .. but same thing is working on production with same organisation and same username and password
To Reproduce
Steps to reproduce the behavior:

  1. login with hr@lfeteach on prerelease and production
  2. fill the observation encounter
  3. compare the encounter
  4. See error

Expected behavior
Average scores and feedback should be shown
Screenshots
pre lfe
prod lfe

Re: https://github.com/avniproject/avni-security/issues/1#issuecomment-1717464830
This issue is not react native upgrade related and is due to an issue in the rules used on this screen.
[ReferenceError: Property 'formElement' doesn't exist]

formElement is used without there being a variable defined of that name.

Need to understand how the same rule is currently working in prod.

Re: https://github.com/avniproject/avni-security/issues/1#issuecomment-1719069752
This is expected behaviour if fast sync db is setup using upgraded version of app and attempted to be used on older version of the app.

@AchalaBelokar AchalaBelokar added the bug Something isn't working label Sep 15, 2023
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: New Issues
Development

No branches or pull requests

1 participant