History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SAK-10774
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: James Renfro
Reporter: Jim Eng
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Sakai

ResourceType registration have a mechanism to provide "size" of a resource

Created: 17-Jul-2007 11:08   Updated: 11-Jun-2008 09:44
Component/s: Content (SVN module)
Affects Version/s: 2.4.0, 2.4.1
Fix Version/s: 2.5.0

Time Tracking:
Not Specified

2.4.x Status: None
2.5.x Status: None


 Description  « Hide
There should be a call-back to the registration to obtain the size of a resource (for display in the list view of the resources tool). If method returns null, byte count should be used. An example of the need for this is the CitationList, where the size is always 36 bytes, the size of the id of the citation-collection. A better "size" for a citation List would be the number of citations. Also, for a video or audio file, the size might be the playing time instead of the byte-count.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Eng - 27-Aug-2007 11:50
I will commit this revision to trunk this afternoon. The implementators in core will be updated with the new method(s). Implementors in contrib will need to be adjusted. More to come shortly.

Jim Eng - 27-Aug-2007 12:30
This has been fixed in trunk. I'm assigning the ticket to you, James, in hopes that if you notice any oddities when you bring your code into conformance with the API changes, you will reopen this ticket to bring them to my attention.

Megan May - 06-Feb-2008 11:59
Tasks for 2.5.0 have been completed. We're nearing the end of the QA cycle and A lot of general regression testing has been going on for the past few months - the changes have likely been reviewed via this method of testing