IRC Archive for channel #xwiki on 22 May 2013

Last modified by Vincent Massol on 2013/05/22 23:54

<abusenius> has quit
02:07 <sdumitriu> has joined #xwiki
02:30 <gihanchanuka> has joined #xwiki
02:34 <rrodriguez> has joined #xwiki
02:35 <rrodriguez> hi, team! please, anybody out there could help me with a XWQL query? Thanks in advance!
03:03 <kstuart> has quit
03:12 <kstuart> has joined #xwiki
03:50 <kstuart> has quit
03:51 <kstuart> has joined #xwiki
04:30 <Denis1> has joined #xwiki
04:36 <kstuart> has quit
04:43 <kstuart> has joined #xwiki
05:51 <Denis1> has quit
07:07 <mflorea> has joined #xwiki
07:24 <evalica> has joined #xwiki
07:24 <buddhi> has joined #xwiki
07:33 <msmeria> has joined #xwiki
07:55 <gihanchanuka> has quit
08:12 <vmassol> has joined #xwiki
08:24 <vmassol> has quit
08:30 <Denis1> has joined #xwiki
08:57 <sburjan> has joined #xwiki
09:21 <Slashman> has joined #xwiki
09:22 <Denis1> is now known as <Denis>
09:35 <vmassol> has joined #xwiki
09:39 <gdelhumeau> has joined #xwiki
09:54 <rrodriguez> has quit
09:59 <tmortagne> has joined #xwiki
10:03 <vmassol> good morning
10:03 <vmassol> guys, if you're ok I'm going to try upgrading our jenkins to the latest version including plugins
10:04 <vmassol> and if the dashboard is still slow, we could use another view for the home page till it's resolved by jenkins, wdyt?
10:05 <vmassol> actually I'm told that the latest version that works without the dashboard issue is 1.505 but I'd like to try the latest first since there might other issues in 505...
10:22 <tdelafosse> has joined #xwiki
10:23 <vmassol1> has joined #xwiki
10:23 <vmassol> has quit
10:28 <vmassol> has joined #xwiki
10:29 <vmassol> sdumitriu: ping, don't release 4.5.4 yet, I still have a problem with it
10:30 <vmassol> with http://jira.xwiki.org/browse/XWIKI-9004
10:30 <vmassol> going in meeting ATM
10:30 <vmassol> will try to fix this afternoon
10:31 <vmassol1> has quit
10:35 <tmortagne> sdumitriu: same for XWIKI-9159 (but this one is a quick one)
10:53 <msmeria1> has joined #xwiki
10:54 <msmeria> has quit
10:56 <msmeria1> has quit
10:57 <msmeria> has joined #xwiki
12:10 <rrodriguez> has joined #xwiki
12:30 <sdumitriu> vmassol, tmortagne: OK, let me know when you fix those
12:30 <tmortagne> sdumitriu: done for me
12:30 <vmassol> sdumitriu: still in meeting, I'll ping you when done
13:05 <sburjan> Hello. I am writing a XWQL query and I want to sort by a property of an object
13:05 <sburjan> I see that we have in the documentation the following query
13:06 <sburjan> from doc.object(Blog.BlogPostClass) as blog where blog.published = '1' and :category member of blog.category and blog.hidden = '0' and doc.web = 'Blog' order by blog.publishDate desc
13:06 <sburjan> I am interested in the "order by blog.publishDate desc" part
13:06 <sburjan> I want to hava a variable for publishDate, so I can order using another property
13:07 <sburjan> i am writing "order by blog.:myvalue).bindValue('myValue', $myProperty)
13:07 <sburjan> but it does not work. Does anybody have an idea what am I missing ?
13:12 <sdumitriu> That's not possible
13:12 <sdumitriu> bindValue binds a value, not a column name
13:14 <sdumitriu> It can only be used for things that are looked for in the database, not for names of things (tables, columns, functions...)
13:14 <sburjan> so my only choice is to "prepare" the  object.property value outside the query ?
13:14 <sdumitriu> Yes
13:14 <sburjan> I was imagining I can concet object. + a property received by value
13:14 <sburjan> *concat
13:14 <sburjan> thanks sdumitriu
13:23 <mflorea> has quit
13:52 <buddhi> has quit
14:23 <mflorea> has joined #xwiki
15:28 <gdelhumeau> has quit
15:29 <gdelhumeau> has joined #xwiki
15:41 <evalica> has quit
15:42 <evalica> has joined #xwiki
15:53 <msmeria> has quit
16:24 <sburjan> Hello. I have found a bug in Admin Tools in the export feature
16:25 <sburjan> Admin Tools Application is JIRA's component for http://extensions.xwiki.org/xwiki/bin/view/Extension/Admin+Tools+Application right ? Just need a confirmation before filing a bug
16:28 <tmortagne> sounds like it yes
16:29 <polx> has joined #xwiki
16:32 <sburjan> http://jira.xwiki.org/browse/XCONTRIB-204
16:32 <sburjan> reported
16:39 <sdumitriu1> has joined #xwiki
16:53 <evalica> has quit
16:54 <evalica> has joined #xwiki
16:54 <Denis> has quit
17:05 <evalica> has quit
17:14 <sburjan> has quit
17:16 <vmassol> cjd: ping
17:18 <cjd> pong
17:18 <vmassol> cjd: I was trying to fix pgsql support in database mode (ie non schema mode)
17:18 <cjd> ahh
17:18 <vmassol> when I realized that setCatalog is a noop in the pgsql driver
17:19 <vmassol> tmortagne tells me that you had it working
17:19 <cjd> you have to init a new tcp connection for each change of database
17:19 <vmassol> I'm wondering how
17:19 <cjd> I had it somewhat working with schema mode IIRC
17:19 <vmassol> ok so you changed our code?
17:19 <tmortagne> that's what http://markmail.org/message/td2v2xmaz5iqxvn3 says
17:19 <vmassol> schema is working yes
17:19 <tmortagne> you don't seem to indicate patching anything in that mail
17:20 <tmortagne> and that was way before schema mode was implemented
17:20 <cjd> I can't remember exactly what I did but I do remember that it "sort of" worked
17:21 <vmassol> tmortagne: are you ok to say that database mode is not supported for pgsql?
17:22 <cjd> The code for supporting postgres has existed for a long time but was originally mostly non-functional
17:22 <cjd> I am not entirely sure just what I did, possibly I thought I had database-per-wiki working but in reality it was only schema-per-wiki in practice.
17:23 <cjd> I do remember that I thought I had solved the problem then later on other issues came up and I lost interest in it
17:23 <tmortagne> vmassol: I'm OK to say I don't know :)
17:24 <vmassol> ok then I'll explcitiyl mention in the doc that we only support scheam mode for pgsql
17:24 <vmassol> till the pgsql driver supports it
17:24 <cjd> I do seem to recall that in order to swap databases in postgres, you have to open a new tcp connection.
17:24 <tmortagne> all I know is that peoples on the mailing list like cjd in http://markmail.org/message/td2v2xmaz5iqxvn3 indicated doing multiwiki with postgresql
17:24 <vmassol> cjd: yes
17:24 <vmassol> the database is set in the constructor of ProtocolConnectionImpl
17:25 <vmassol> and cannot be changed afterwards
17:25 <vmassol> (it's a pgsql driver class)
17:25 <cjd> and making that work would be hacking up hibernate... frameworks are nice until they bite you ;)
17:25 <vmassol> so the only way to make it work in db mode
17:25 <vmassol> is to remove the connection pooling
17:26 <vmassol> so that you get a new connection every time
17:26 <vmassol> but that's not going to work well re performances
17:26 <cjd> indeed
17:26 <cjd> could have one hibernate instance per wiki, possibly it would be "nicer" in other ways too
17:26 <cjd> but that's a big project ofc
17:35 <vmassol> ok I think we're ready for the 4.5.4 and 5.0.2 releases, hoping that I didn't break anything with my last commit….
17:35 <vmassol> if someone could review my commit that would make me feel more safe… :)
17:35 <sdumitriu1> vmassol: Good to go?
17:35 <vmassol> yep after someone validates my commit
17:35 <sdumitriu1> Looking at it
17:38 <tmortagne> I have to go, will release 5.0.2 tomorrow morning
17:38 <tmortagne> has quit
17:39 <sdumitriu1> vmassol: Looks good
17:39 <sdumitriu1> Did you run it?
17:39 <vmassol> yes but only for psql in schema mode
17:39 <vmassol> should be ok
17:43 <Denis> has joined #xwiki
17:43 <Denis> has quit
17:50 <rrodriguez> has quit
18:43 <mflorea> has quit
18:49 <vmassol> has quit
18:51 <tdelafosse> has quit
18:56 <jbwiv> has joined #xwiki
18:57 <Denis1> has joined #xwiki
18:57 <Denis1> is now known as <Denis>
19:12 <gdelhumeau> has quit
19:31 <abusenius> has joined #xwiki
19:45 <rrodriguez> has joined #xwiki
19:54 <Slashman> has quit
20:16 <rrodriguez> has quit
20:22 <Denis> has quit
20:32 <Denis> has joined #xwiki
21:12 <rrodriguez> has joined #xwiki
21:39 <cjd_> has joined #xwiki
21:42 <cjd> has quit
22:20 <cjd_> is now known as <cjd>
22:31 <Denis> has quit
23:54 <sdumitriu1> has quit
23:54 <abusenius> has quit

Get Connected