Re: [xwiki-users] Upload does not work

2012-05-30 Thread Lars Lindwall
Yes, I'm using Glassfish 3.1.2 and I have found the same problem when using MySQL as the data store. -Ursprungligt meddelande- Från: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] För Sergiu Dumitriu Skickat: den 30 maj 2012 17:45 Till: XWiki Users Ämne: Re: [xwiki-users] Uploa

Re: [xwiki-users] How to correctly use the bridge apis ?

2012-05-30 Thread Marius Dumitru Florea
On Wed, May 30, 2012 at 6:21 PM, Thomas Mortagne wrote: > On Wed, May 30, 2012 at 4:46 PM, Jeremie BOUSQUET > wrote: >> Hello, >> >> I'm wondering if I'm on the good path ... >> I'm trying to move out some "old core" api usage, and replace them >> using the DocumentAccessBridge (3.5.1), in a java

Re: [xwiki-users] XWiki users edition

2012-05-30 Thread Ricardo.Julio.Rodriguez.Fernandez
Hi, Joris! >> >> From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Joris >> Dirks [jo...@user.stekje.nl] >> Sent: 30 May 2012 15:03 >> To: XWiki Users >> Subject: Re: [xwiki-users] XWiki users edition >> >> Oh, complex question.. >> >> O

Re: [xwiki-users] Activity Stream - Failed to update: Forbidden

2012-05-30 Thread Sergiu Dumitriu
On 05/30/2012 09:56 AM, Hamster wrote: I will try to replicate this issue... Some application logs would be useful. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Upload does not work

2012-05-30 Thread Sergiu Dumitriu
On 05/30/2012 09:41 AM, Lars Lindwall wrote: Uploading of files (XAR-files as well as i.e. JPG files) fails in 3.5 as well as in 4.0. I try to upload an attachment but nothing happens. Log says: "WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.getXMLEnco

Re: [xwiki-users] How to correctly use the bridge apis ?

2012-05-30 Thread Thomas Mortagne
On Wed, May 30, 2012 at 4:46 PM, Jeremie BOUSQUET wrote: > Hello, > > I'm wondering if I'm on the good path ... > I'm trying to move out some "old core" api usage, and replace them > using the DocumentAccessBridge (3.5.1), in a java component. > > Considering a very simple use-case : setting prope

Re: [xwiki-users] How to correctly use the bridge apis ?

2012-05-30 Thread Marius Dumitru Florea
On Wed, May 30, 2012 at 5:46 PM, Jeremie BOUSQUET wrote: > Hello, > > I'm wondering if I'm on the good path ... > I'm trying to move out some "old core" api usage, and replace them > using the DocumentAccessBridge (3.5.1), in a java component. > > Considering a very simple use-case : setting prope

Re: [xwiki-users] How to correctly use the bridge apis ?

2012-05-30 Thread Thomas Mortagne
On Wed, May 30, 2012 at 4:46 PM, Jeremie BOUSQUET wrote: > Hello, > > I'm wondering if I'm on the good path ... > I'm trying to move out some "old core" api usage, and replace them > using the DocumentAccessBridge (3.5.1), in a java component. > > Considering a very simple use-case : setting prope

[xwiki-users] How to correctly use the bridge apis ?

2012-05-30 Thread Jeremie BOUSQUET
Hello, I'm wondering if I'm on the good path ... I'm trying to move out some "old core" api usage, and replace them using the DocumentAccessBridge (3.5.1), in a java component. Considering a very simple use-case : setting property value of an object. Here the document containing object is not in

Re: [xwiki-users] Activity Stream - Failed to update: Forbidden

2012-05-30 Thread Hamster
I will try to replicate this issue... -- View this message in context: http://xwiki.475771.n2.nabble.com/Activity-Stream-Failed-to-update-Forbidden-tp7574674p7579279.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing l

[xwiki-users] Upload does not work

2012-05-30 Thread Lars Lindwall
Uploading of files (XAR-files as well as i.e. JPG files) fails in 3.5 as well as in 4.0. I try to upload an attachment but nothing happens. Log says: "WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:XWiki.Import@2,42 ". I'm staying

Re: [xwiki-users] xwiki 3.5.1 oracle database does not upgrade to 4.1

2012-05-30 Thread Lars Lindwall
I partly solved this problem by upgrading step-by-step, that is, first upgraded 3.4 to 3.5 and then upgraded 3.5 to 4.0. However, when trying to upgrade 4.0 to 4.1 it failed. Log first reports "[R4XWIKI6990] - Converting 685 object IDs in 11 tables, 3 custom mapped tables and 3 collection table

[xwiki-users] $isUserInGroup doesn't inherrit subgroup membership

2012-05-30 Thread Joris Dirks
I have an issue with the working of API call $isUserInGroup. Imagine the group Employees consisting of two subgroups: Drones and Management. Each employee is in one of those groups. When a space has view rights for Employees, members of both groups have access. When I check ($xwiki.user.isUserInG

Re: [xwiki-users] XWiki users edition

2012-05-30 Thread Joris Dirks
Oh, complex question.. On 25 May 2012 18:21, wrote: > I would like to allow an user, or a group of users A, to edit users' profiles > on a per users' group basis. > > Thus given five users' groups, A, B, C, D, E, I would like to allow, for > instance,... > > 1. User01 to edit all groups B, D a

Re: [xwiki-users] Send an email in an event listener

2012-05-30 Thread Jeremie BOUSQUET
Hello, > Question 2 : How can I make a line break on the text of my mail ? I've > tried , \n, %0D%0A, but nothing work ... Do you have a solution ? First, from your code : > def emailcontent = "Test" > def result = > xwiki.mailsender.sendHtmlMessage("${sender}", >"n...@g

Re: [xwiki-users] Watchlist feature not working

2012-05-30 Thread Moritz Hesse (EA GmbH)
Hi, to sum it up: * The problem was due to commata in page titles (c.f. http://jira.xwiki.org/browse/XE-1149). * I had this feature (http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist+Application#HAutoWatch) activated, which lead to the problem (but does not directly cause it). * I

Re: [xwiki-users] Activity Stream - Failed to update: Forbidden

2012-05-30 Thread Eduard Moraru
Hi, While looking into your issue, we have identified and fixed a bug [1] about not being able to delete a message from the Activity Stream. It was introduced in 3.5 and we did not notice it until now. However, when it comes to sending messages, all the versions that I have tried (4.1-SNAPSHOT, 4