Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1077

"Add contact" button empty if isContact fail

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Messages add-on
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to someone's profile
      2. Confirm you can see the 'Add contact' button
      3. Find a way to make the WS core_message_get_contacts fail
      4. Refresh their profiles
      5. Confirm you cannot see the 'Add contact' button
      Show
      Go to someone's profile Confirm you can see the 'Add contact' button Find a way to make the WS core_message_get_contacts fail Refresh their profiles Confirm you cannot see the 'Add contact' button
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      If $mmaMessages#isContact fails (because $mmaMessages#getContacts fails) the button is left empty. In that case, the button shouldn't be shown at all.

      It's not the only button affected, the second button is blank too on prototype 2.9.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Dani Palou
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Jul/15