Hi Daniel,

yes that seems right, the first occourence of user-ID should be called
*userId* not user_id.
I have commited a fix to the SVN.

Sebastian

2011/6/30 Daniel Jao <[email protected]>:
> hi seba, i tried with 0 and -2 for the addFolderByUserId but i didnt see it
> in my "Home Drive",
>
> im reading the code, i think line 266 might have a problem, correct me if im
> wrong.
>
> http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/src/fileservice/org/openmeetings/axis/services/FileService.java#310
>
> base on the snippet:
>
>  if (parentFileExplorerItemId == 0 && isOwner) {
>                     // users_id (OwnerID) => only set if its directly root
> in
>                     // Owner Directory,
>                     // other Folders and Files maybe are also in a Home
>                     // directory
>                     // but just because their parent is
>                     return
> FileExplorerItemDaoImpl.getInstance().add(fileName,
>                             "", parentFileExplorerItemId, users_id, room_id,
>                             userId, true, // isFolder
>                             false, // isImage
>                             false, // isPresentation
>                             "", // WML Path
>                             false, // isStoredWML file
>                             false, // isXmlFile
>                             externalFilesid, externalType);
>
> users_id should be set if i want it to be in the root of the owner
> directory, but looking at the code, users_id is being retrieve using the SID
> that was passed in the function, the problem im seeing here is that if this
> was called by the api, how would the SID related it to the openmeeting user
> id?  base on the DB, the owner_id im getting is 0,
>
> let me know what you think.
>
> thanks,
> daniel
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/oTwX1RM17kgJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>



-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to