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

Rules do not work correctly if the user profile field is numerical #30

Open
rca19 opened this issue Mar 20, 2020 · 1 comment
Open

Rules do not work correctly if the user profile field is numerical #30

rca19 opened this issue Mar 20, 2020 · 1 comment

Comments

@rca19
Copy link

rca19 commented Mar 20, 2020

I had an issue in my set of rules with a user field that had one-digit numbers as values (standing for the semester number - like 1, 2, 3 ...). All the rule sets (two or three rules connected with AND) that had this field gave incorrect results or just no results (empty sets).
I finally resolved the problem changing numerical values to textual representation (like 2 -> 'two'). Now all the rule sets give correct results.
As a side effect, an error was generated when the first value from the pull-down list (of numerical values) was selected, preventing from creating the rule.
I am on Moodle 3.8.1, PHP 7.4, ArchLinux system.

@abias
Copy link
Member

abias commented Apr 30, 2023

Hi @rca19 ,

I am sorry that your bug report remained unhandled up to now.

I would like to understand if this is still an issue for you with the latest releases of this plugins on Moodle 4.
Would you be able to test it again? And if you still encounter an error, please submit detailled steps to reproduce which cover the information what kind of user profile field you are creating, what content this field contains for a given user and what error message you are getting.

Thanks,
Alex

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

2 participants