Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
1.6 EOU 1
-
None
Description
Summary: Build-up only places the resulting asset in the correct space if you are building up from a group curriculum tab OR you are building-up one of your own collections.
---------------------- Evidence below --------------------
Build-up a group collection. I added an image asset in IE 7. At the end of the add there was a JS error in line one, and the asset was not added into the group collection space:
A similar error seems to occurs in FF2:
In Firebug, the JS error is-
C is not a function
contains()curriki-main.js (line 1)
contains(Object tId=9 status=200 statusText=OK, Object url=/xwiki/curriki/users/XWiki.Flerp/groups)curriki-main.js (line 1)
apply(function(), Object me=Object collections=[1] groups=[0], [Object tId=9 status=200 statusText=OK, Object url=/xwiki/curriki/users/XWiki.Flerp/groups], undefined)ext%2Dbase.js (line 9)
Connection(Object tId=9 status=200 statusText=OK)ext%2Dall.js (line 17)
getViewWidth(Object conn=XMLHttpRequest tId=9, Object scope=Object argument=Object timeout=30000, undefined)ext%2Dbase.js (line 10)
getViewWidth()ext%2Dbase.js (line 10)
[Break on this error] Array.prototype.contains=function(A)
;Ext.namespace(...
Also in FF, when a non group member adds a LP into a closed group's open collection (Or any open collection probably), the resource is not added to the group collection space.
However when I used Build-up from the Collections tab (Not view), when logged-in as a group member, I was able to add a link resource that is in the correct collection space:
Additionally, a non member building up form the a groups Curriculum tab is also good:
THEREFORE!!! Build up from view does not maintain the target collection of the parent. However, Build-up from group curriculum tab does. Additionally, building up another users collection (Form view or from the personal "My Collections" tab) fails to place the new asset in the same space as the composite asset being built-up.