Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52592

Users are not able to edit interests (tags form element) in some language packs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0, 3.0 regressions
    • Fix Version/s: None
    • Component/s: Forms Library, Tags
    • Labels:
      None
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      EXPECTED RESULT
      Editing his profile, an user could add/update/remove tags in the section "Interests" using any language pack of his choice.

      ACTUAL RESULT
      When using others language packs then English (en) or Spanish (es), the div.fcontainer within fieldset.id_moodle_interests lacks the YUI id used to trigger the field visibility when the section is expanded.

      STEPS TO REPRODUCE
      1. Change your profile language to English (en) or Español (es)
      2. Go to Dashboard > Preferences > User account > Edit profile
      3. Expand the section "Interests" and you are able to insert a tag.
      4. Remove all existing interests and update your profile
      5. You are able to edit your interests in this language pack
      6. Change your profile language to Português - Brasil (pt_br)
      7. Perform steps 2 and 3
      8. You are NOT able to edit your interests in this language pack

      OTHER
      I've found that when using Português - Brasil (pt_br) the "div.fitemtitle label" has a incorrect "for" attribute; and "div.fcontainer.clearfix" completely lacks the YUI id.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              gleidsonlm Gleidson Medeiros
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: