-
Notifications
You must be signed in to change notification settings - Fork 761
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
Setup Wizard : 'Password field is empty in FacilityImportResource.grantsuperuserpermissions API call' #13103
Comments
Thank you for reporting this, @Abhishek-Punhani! |
@pcenov @radinamatic to reproduce. |
Hi @Abhishek-Punhani and @rtibbles - this seems like a good explanation for the cause of the issue described by me in #12894 but I would expect that to be mentioned in the original issue and be the basis for resolving it. So I'm not sure why it's reported as a duplicate issue here? Here's a video of what I am observing in both latest 2025-02-26_12-13-51.mp4cc @radinamatic |
Hi @pcenov, that's on me. From all what we know, it could indeed be the same issue - it's possible I didn't connect the dots. It sounded to me that @Abhishek-Punhani was describing somewhat related but different issue around not sending password at all that we may nee to prioritize much higher compared to the original. In any case, @Abhishek-Punhani since we prioritized this as critical and we are shortly before a new release, it is likely we will need to assign this to a team member. In any case, your findings are important and will help to prevent from potentially significant problem - thank you so much. |
Thanks for clarifying that @MisRob! Here are also the logs from both devices in case they are needed: |
Alright, well we will see after we fix this one and then can decide on next steps :) |
Observed Behavior
During the “Import all data from an existing learning facility” flow, the password is always sent as an empty string when calling:
Even though the user enters a password in the field, the payload shows password: "". This prevents the API request from running as expected, resulting in a broken onboarding flow.
Steps to Reproduce
Expected Behavior
The password typed in the input should be included in the API call body, and the super admin setup should succeed without sending an empty string.
Additional Notes
export KOLIBRI_HOME="/path" kolibri start --port=8002 --foreground --settings=kolibri.deployment.default.settings.dev
Then unset KOLIBRI_HOME before returning to your normal development server:
unset KOLIBRI_HOME yarn run devserver
To again use that folder for other instance just delete that directory and run command again
Screencast.from.02-24-2025.04.22.05.PM.webm
The text was updated successfully, but these errors were encountered: