-
Notifications
You must be signed in to change notification settings - Fork 750
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
Non-existent password ref #11769
Comments
@rtibbles It seems like most places have a check for it's access. If it's undefined everytime, where is it being used and why is it being referenced? |
My guess is that this is the result of a copy paste of code, or changes in the component template that were not matched in the component script. We should just remove any that are actually undefined to avoid this. |
Can you help me with reproducing this error though. I can't see where the form is triggered. I feel the paths should have a clearer 1:1 mapping from the path string to the path user enters in browser.
|
Hi @himanshuc3, I don't understand exactly this issue but from your last comment it sounds that you need to have access to the import facility feature? If that's the case, one way to achieve that is to run another Kolibri instance as described here https://kolibri-dev.readthedocs.io/en/develop/howtos/another_kolibri_instance.html |
thanks @MisRob let me try that and get back. |
|
Ah this one is tricky to find @himanshuc3.
|
I was initially using the command
I don't see any related key in |
@himanshuc3 On your second instance, instead of running the
|
I am able to run the 2 instances now. Thanks @bjester @MisRob for the help. There might be an unrelated bug though, because as soon as I try to use the earlier instance (running on port 8000) which was ran using |
Yes - unfortunately, cookies are shared across the same host, even if the port is different. So if you need to interact with both servers, you would need to use two separate browser sessions. |
Fixed in #12077 |
Observed behavior
In the https://github.com/learningequality/kolibri/blob/release-v0.16.x/kolibri/plugins/setup_wizard/assets/src/views/SelectSuperAdminAccountForm.vue component,
this.$refs.password
is always undefined, which can give an unhandled error during certain operations.Errors and logs
First reported here: https://github.com/learningequality/kolibri/blob/release-v0.16.x/kolibri/plugins/setup_wizard/assets/src/views/SelectSuperAdminAccountForm.vue
Expected behavior
References to non-existent refs should be removed.
User-facing consequences
Seemingly none.
The text was updated successfully, but these errors were encountered: