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

[Account] Cannot modify organization custom field despite organizations being public #2145

Open
maieutiquer opened this issue Jun 7, 2022 · 1 comment

Comments

@maieutiquer
Copy link
Contributor

maieutiquer commented Jun 7, 2022

Q A
Bug report? yes
Version? 13.2 - 13.5

Steps:

  1. Install Claroline 13.5 from scratch
  2. Create at least one organization on the root level (no parent), make it public
  3. Create a custom field for selecting an organization
  4. Enable self-registration
  5. Register a new account using the account registration page and select the public organization that you have created
  6. Login with the new account
  7. Navigate to "My account" and try editing your account's organization field

Expected: you should be able to select a public organization the same way that you can do it when creating an account

Actual: the organisation select field is not available as organizations are not visible

Quand on essaie de modifier son profil, on ne voit pas le Select avec les organisations, bien qu'elles sont publiques :
image

Quand on ouvre le profil en mode lecture, l'organisation choisie lors de la création est visible correctement :
image

C'est bien ce qui a été choisi lors de la création :
image

Les organisations sont publiques et ça ne fonctionne pas quand même :
image

This is a critical issue for us as it's blocking our client's users from being able to modify their organization, so we implemented a workaround in our previous release (based on 13.2) to make all organizations always visible to everyone, and then it works correctly:
https://github.com/konsept-ch/Claroline/pull/69/files

@maieutiquer
Copy link
Contributor Author

Here's another workaround that we'll try using in Prod, please let us know what you think :
https://github.com/konsept-ch/Claroline/pull/104/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant