← Back to team overview

mahara-contributors team mailing list archive

[Bug 1588091] A change has been merged

 

Reviewed:  https://reviews.mahara.org/6542
Committed: https://git.mahara.org/mahara/mahara/commit/7a0ed6ded5c4ef76ae49df215c3c08474ff12a81
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    16.04_STABLE

commit 7a0ed6ded5c4ef76ae49df215c3c08474ff12a81
Author: Evan Giles <evan@xxxxxxxxxxxxxxx>
Date:   Wed Jun 1 16:10:59 2016 +1000

Bug #1588091: Fix 'name display format' issue

When a user chooses the 'name_display_format' of studentid
- we get an error.

This change just populates the studentid field of the user

behatnotneeded

Change-Id: I1e6a84723863e49dd94b83cb115f26262e6d9750
(cherry picked from commit d8285e3ec2e2c234b2c648805e6c47925b95e803)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1588091

Title:
  StudentID not displayed in content

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed
Status in Mahara 16.04 series:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  The Portfolio content isn't able to show the author's name in all
  formats - Choosing the 'ID Number' format causes a php error.

  To reproduce:
  - Allocate a studentID to the current user
  - Go to Portfolio -> Pages -> Create Page
   - Put some content on the page
   - Select a 'Name display format' of 'ID Number'
   - Save the page
  - Click on the 'Display page' button

  Expected results:
  - The page will be displayed, showing the student ID as the auther

  Actual results:
  - The page is displayed, but it doesn't show the Student id
  - If $cfg->productionmode = false; a php error is shown on the screen

  I am running:
  - Mahara 16.04
  - Ubuntu 14.04
  - Postgres 9.3.11

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1588091/+subscriptions


References