Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3711

Access rules error messages should include as part of the string (variable) the access rule name (instead concatenating it hardcoded)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for testing
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: DEV backlog
    • Fix Version/s: None
    • Component/s: Error reporting
    • Labels:
    • Testing Instructions:
      Hide

      Test only in one device of your choice.

      1. In a Moodle site, Install a quiz accessrule not supported by the app.
      2. Enter the quiz and check message: This quiz can't be attempted in the app because it has access rules not supported by the app is shown with the list of rules.
      3. Add a remote css url that hides the whole message:

        .addon-mod_quiz-unsupported-rules { display: none; }

      4. Test again and check message is not shown.
      5. Change the css to hide only the rules (only one letter change):

        .addon-mod_quiz-unsupported-rule { display: none; }

      6. Test again and check message is shown but the list of unsupported rules not.
      7. You can also hide one rule using: .addon-mod_quiz-unsupported-rule-RULENAME class.
      Show
      Test only in one device of your choice. In a Moodle site, Install a quiz accessrule not supported by the app. Enter the quiz and check message: This quiz can't be attempted in the app because it has access rules not supported by the app is shown with the list of rules. Add a remote css url that hides the whole message: .addon-mod_quiz-unsupported-rules { display: none; } Test again and check message is not shown. Change the css to hide only the rules (only one letter change): .addon-mod_quiz-unsupported-rule { display: none; } Test again and check message is shown but the list of unsupported rules not. You can also hide one rule using: .addon-mod_quiz-unsupported-rule-RULENAME class.
    • Pull Master Branch:
    • Sprint:
      Moodle App 4.0

      Description

      Access rules error messages should include as part of the string (variable) the access rule name (instead concatenating it hardcoded)

        Attachments

          Activity

            People

            Assignee:
            pferre22 Pau Ferrer
            Reporter:
            isabelrenedo Isabel Renedo Rouco
            Peer reviewer:
            Dani Palou Dani Palou
            Integrator:
            Dani Palou Dani Palou
            Tester:
            Dani Palou Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: