← Back to team overview

mahara-contributors team mailing list archive

[Bug 1949003] Re: Error: cannot get $item->views of a collection with pages on 'Create' -> 'Tags'

 

Ah I see how the error occurred now - it's when you have an empty
collection that is also has 'Portfolio completion' turned on.

This causes the collection to have a special page but no 'true' pages.

So to repeat the error one needs to do the following:

1) Install a site
2) Go to Admin -> Institutions and edit the institution and turn on 'Portfolio completion'
3) Go to Create -> Pages and collections and make a collection and set a tag for it (but do not add any pages)
4) Go to the Create -> Tags page

See the error

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1949003

Title:
  Error: cannot get $item->views of a collection with pages on 'Create'
  -> 'Tags'

Status in Mahara:
  Confirmed

Bug description:
  http://<your path to mahara>/tags.php

  Replicate bug:
  - create a collection with no pages
  - Go to 'Create'->'Tags' 
  Expected: no errors
  Actual: errors about not finding $item->views

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



References