Trellis Learning Management System


Viewing Issue Simple Details Jump to Notes ] << ] >> ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000183 [Trellis] Learning Center minor always 2009-01-26 15:35 2009-11-18 15:31
Reporter henry View Status public  
Assigned To henry
Priority normal Resolution reopened  
Status confirmed   Product Version 0.5.2
Summary 0000183: documents mod returns documents from all communities by default
Description The default behaviour for the documents mod is to return documents from all communities, regardless of the current community.

I suggest changing the default behaviour to return documents only from the current community, as the current behaviour seems contradictory to the main purpose of a community, which is to collectively separate elements in a learning center (e.g. courses, users, catalogs).

This change would also align with the behaviour of the catalogs mod, which returns only catalogs from the current community.
Additional Information
Tags No tags attached.
Error Code
URI
Attached Files

- Relationships

-  Notes
User avatar (0000698)
vcs (reporter)
2009-02-13 16:59

issue#183

return documents only from the current community by default


Repository: /var/svn/trellis-dev, Revision: 8544, Committer: henry
User avatar (0000703)
vcs (reporter)
2009-02-17 17:15

issue#183

removed 0.4 backwards compatibility for calls to get_user_documents() method, as it is not used/needed


Repository: /var/svn/trellis-dev, Revision: 8546, Committer: henry
User avatar (0000704)
henry (developer)
2009-02-17 17:51

Reminder sent to: james

This has been tested, is working and is ready for review.
User avatar (0000705)
vcs (reporter)
2009-02-17 17:54

issue#183 resolved
return documents only from the current community by default
removed 0.4 backwards compatibility for calls to get_user_documents() method, as it is not used/needed


Repository: /var/svn/trellis, Revision: 101, Committer: james
User avatar (0000706)
james (administrator)
2009-02-17 17:55

resolution has been committed
User avatar (0001015)
henry (developer)
2009-10-05 15:41

Reopening issue: revision 8544 introduces a new bug whereby a document cannot be accessed if its only method of access is through a program.

Steps to reproduce:
1) Upload a document, do not grant access to all users.
2) Grant access based on a program
3) View documents module and note that the document is not accessible even if you are a user registered in the program

This happens because setting the community id parameter (as is done in revision 8544) will only return documents in that community if "Grant access to all users" was checked, which may not always be the case.
User avatar (0001016)
vcs (reporter)
2009-10-05 16:34

issue#183 when community id is passed, also retrieve documents which don't belong to any community (accessible instead by program or program section)


Repository: /var/svn/trellis-dev, Revision: 8758, Committer: henry
User avatar (0001017)
henry (developer)
2009-10-05 16:35

Revision 8544 is being kept and revision 8758 was committed to address the new bug/issue.
User avatar (0001018)
vcs (reporter)
2009-10-05 16:38

issue#183 debugged


Repository: /var/svn/trellis-dev, Revision: 8759, Committer: henry
User avatar (0001019)
vcs (reporter)
2009-10-05 16:57

issue#183 debugged


Repository: /var/svn/trellis-dev, Revision: 8760, Committer: henry
User avatar (0001020)
vcs (reporter)
2009-10-05 17:04

issue#183 debugged - '0' is not a valid program section


Repository: /var/svn/trellis-dev, Revision: 8761, Committer: henry
User avatar (0001057)
vcs (reporter)
2009-11-18 15:31

issue#183 if given community id, only match programs and programs sections from that community


Repository: /var/svn/trellis-dev, Revision: 8811, Committer: henry

- Issue History
Date Modified Username Field Change
2009-01-26 15:35 henry New Issue
2009-01-29 14:11 james Status new => confirmed
2009-01-29 14:12 james Status confirmed => assigned
2009-01-29 14:12 james Assigned To => henry
2009-02-13 16:59 vcs Checkin
2009-02-13 16:59 vcs Note Added: 0000698
2009-02-17 17:15 vcs Checkin
2009-02-17 17:15 vcs Note Added: 0000703
2009-02-17 17:51 henry Issue Monitored: james
2009-02-17 17:51 henry Note Added: 0000704
2009-02-17 17:54 vcs Checkin
2009-02-17 17:54 vcs Note Added: 0000705
2009-02-17 17:55 james Note Added: 0000706
2009-02-17 17:55 james Status assigned => resolution committed
2009-02-17 17:55 james Fixed in Version => 0.5.3
2009-02-17 17:55 james Resolution open => fixed
2009-10-05 15:41 henry Note Added: 0001015
2009-10-05 15:41 henry Status resolution committed => confirmed
2009-10-05 15:41 henry Resolution fixed => reopened
2009-10-05 16:34 vcs Checkin
2009-10-05 16:34 vcs Note Added: 0001016
2009-10-05 16:35 henry Note Added: 0001017
2009-10-05 16:38 vcs Checkin
2009-10-05 16:38 vcs Note Added: 0001018
2009-10-05 16:57 vcs Checkin
2009-10-05 16:57 vcs Note Added: 0001019
2009-10-05 17:04 vcs Checkin
2009-10-05 17:04 vcs Note Added: 0001020
2009-11-18 15:31 vcs Checkin
2009-11-18 15:31 vcs Note Added: 0001057



Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker