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

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Messages add-on
    • 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
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      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.

            fred Frédéric Massart
            dpalou Dani Palou
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.