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

cht-form printing errors to console #9561

Open
jkuester opened this issue Oct 18, 2024 · 1 comment · May be fixed by #9647
Open

cht-form printing errors to console #9561

jkuester opened this issue Oct 18, 2024 · 1 comment · May be fixed by #9647
Assignees
Labels
Type: Technical issue Improve something that users won't notice

Comments

@jkuester
Copy link
Contributor

Describe the issue
It appears that the changes.service.ts has leaked into the cht-form web component. Now, when it tries to initialize, it fails and just spams the logs endlessly every 5 sec with

Error initialising watching for db changes TypeError: Cannot read properties of undefined (reading 'update_seq')
    at eval (main.js:2)
    at H.invoke (polyfills.js:1)
    at Object.onInvoke (main.js:2)
    at H.invoke (polyfills.js:1)
    at ne.run (polyfills.js:1)
    at eval (polyfills.js:1)
    at H.invokeTask (polyfills.js:1)
    at Object.onInvokeTask (main.js:2)
    at H.invokeTask (polyfills.js:1)
    at ne.runTask (polyfills.js:1)
@jkuester jkuester added the Type: Technical issue Improve something that users won't notice label Oct 18, 2024
@jkuester jkuester self-assigned this Oct 18, 2024
@jkuester
Copy link
Contributor Author

jkuester commented Oct 18, 2024

Looks like the culprit is the extract-lineage.service which now depends on:

  • UserSettingsService
  • UserContactService
  • AuthService

EnektoService > ExtractLineageService > UserSettingsService > CacheService > ChangesService.

I am thinking we either need to move the new user-centric functionality out of the ExtractLineageService or we need to push the ExtractLineageService call up out of EnketoService....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Technical issue Improve something that users won't notice
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant