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

restore_radar_charttype rebased to MOODLE_401_STABLE #510

Open
wants to merge 2 commits into
base: MOODLE_401_STABLE
Choose a base branch
from

Conversation

rezeau
Copy link
Contributor

@rezeau rezeau commented Sep 26, 2023

This PR replaces obsolete PR #490

Copy link
Contributor

@mchurchward mchurchward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can Behat tests be updated/added to verify these?

classes/feedback_form.php Outdated Show resolved Hide resolved
classes/feedback_form.php Show resolved Hide resolved
@rezeau
Copy link
Contributor Author

rezeau commented Oct 4, 2023

@mchurchward wrote "Can Behat tests be updated/added to verify these?"
I've checked that the existing Behat test add_multi_feedback_with_sections.feature works OK with this PR.
Do you prefer me to update that Behat test with my PR new features OR create a new test?

@mchurchward
Copy link
Contributor

Hi Joseph. Sorry it has taken so long to get back to this.
I'm having trouble testing it. I have existing questionnaires with feedback options already in the database.
The questionnaire has a normal rate question.
But when I try to access the feedback for editing, I get the message:
"Feedback options are available if your questionnaire contains the following question types and question settings: Radio buttons; Dropdown box; Yes/No; or Rate (normal or Osgood scale). Those questions must be set as Required, their Question Name field must NOT be empty and the Possible answers choices must contain a value. "
This error happens on the current MOODLE_401_STABLE branch as well as the one you have provided here.

What am I doing wrong?

@rezeau
Copy link
Contributor Author

rezeau commented Feb 26, 2024

@mchurchward I've just tested my PR #510 on my local moodle test site running Moodle 4.3.3+ (Build: 20240215). It works as expected.
You write:: "The questionnaire has a normal rate question.
But when I try to access the feedback for editing, I get the message:
"Feedback options are available if your questionnaire contains the following question types and question settings: Radio buttons; Dropdown box; Yes/No; or Rate (normal or Osgood scale). Those questions must be set as Required, their Question Name field must NOT be empty and the Possible answers choices must contain a value. ""

1.- Are you positive that your questionnaire obeys all the conditions mentioned in the Feedback options warning message?
2.- If you try your to add Feedback to your questionnaire without using my PR, are you getting the same message? My PR has nothing to do with those Feedback requirements, i.e. it does not add any extra requirement to the list.

@rezeau rezeau mentioned this pull request Feb 27, 2024
@rezeau
Copy link
Contributor Author

rezeau commented Feb 27, 2024

@mchurchward Should I wait for #542 and @lucaboesch 's suggestion :: "A branch MOODLE_403_STABLE in your repository would be highly appreciated" before continuing testing this #510 ?

@joostelshoff
Copy link

@mchurchward What is the current status of this fix?

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

Successfully merging this pull request may close these issues.

3 participants