IRC Archive for channel #xwiki on 11 January 2017

Last modified by Vincent Massol on 2017/01/11 20:39

<woshilap1n> has quit
00:31 <woshilap1n> has joined #xwiki
00:48 <sorinello__> has joined #xwiki
00:51 <sorinello> has quit
01:10 <D-Spair> has quit
01:14 <sorinello__> has quit
01:18 <D-Spair> has joined #xwiki
01:26 <sorinello__> has joined #xwiki
03:31 <evalica> has joined #xwiki
04:07 <OSIMasson1> has quit
04:11 <OSIMasson1> has joined #xwiki
04:15 <evalica> has quit
04:22 <OSIMasson1> has quit
06:24 <mflorea> has joined #xwiki
08:08 <mflorea> has quit
08:34 <tmortagne> has joined #xwiki
08:37 <sorinello__> has quit
08:37 <sorinello> has joined #xwiki
08:37 <sorinello> has quit
08:38 <ClemensR> has joined #xwiki
09:18 <tmortagne> has quit
09:18 <ImRG> has joined #xwiki
09:20 <tmortagne> has joined #xwiki
09:28 <raphael29_> has joined #xwiki
09:42 <gdelhumeau> has joined #xwiki
10:04 <mflorea> has joined #xwiki
10:05 <vmassol> has joined #xwiki
10:42 <msmeria> has joined #xwiki
10:52 <mflorea> tmortagne: is there a way to overwrite a translation key that comes from a document translation bundle? My translation bundle, from where I want to overwrite the key is probably loaded before so it doesn't have any effect.
10:53 <mflorea> I was thinking to "force" loading my translation bundle on demand, but it is also loaded on wiki, so it doesn't work (the location manager probably detects that the bundle is already loaded and doesn't do nothing).
10:54 <mflorea> my last resort is to define a separate bundle that contains only the key I want to overwrite and load this on demand in the places where the key is used
10:58 <tmortagne> TranslationBundle API have the concept of priority but all wiki based bundle provide the same priority, need to add a priority field in TranslationDocumentClass
11:00 <tmortagne> "it doesn't work" not sure what you means here
11:00 <tmortagne> you change from wiki to on demand and it's not taken into account ?
11:01 <tmortagne> mflorea:
11:02 <Slashman> has joined #xwiki
11:02 <mflorea> no, I can't change from wiki to ondemand because I have keys that are used in many places (including AJAX requests). That's why I said that in the end I'll have to use a separate bundle that is loaded on demand and which has only the keys that I want to overwrite
11:03 <mflorea> fortunately, in my case the key I want to overwrite is used in a single place
11:03 <mflorea> so I can load on demand there this separate bundle
11:03 <mflorea> just so that it overwrites the default key
11:04 <mflorea> tmortagne:
11:05 <tmortagne> ok so you tried to use it both at wiki level and on demande, the reason it did not worked is because the bundled are stored in a set in the context
11:05 <mflorea> yep, I thought so
11:06 <tmortagne> plus another issue for this use case any way is that it's a SortedSet
11:06 <tmortagne> sorted based on priority
11:07 <tmortagne> actually it's not an issue
11:07 <mflorea> how does it decide the priority? we can't specify a priority for a document translation bundle, at least not from the wiki page
11:07 <tmortagne> (10:58:47 AM) tmortagne: TranslationBundle API have the concept of priority but all wiki based bundle provide the same priority, need to add a priority field in TranslationDocumentClass
11:08 <mflorea> that would be nice
11:08 <mflorea> and would fit my use case
11:08 <tmortagne> yes, mostly forgot about it
11:08 <tmortagne> plus it's pretty easy to do
11:09 <tmortagne> if you want to look at it it's in AbstractDocumentTranslationBundle
11:09 <tmortagne> right now it does setPriority(DEFAULTPRIORITY_WIKI); but ideally it should look at the document first
11:09 <ImRG> has quit
11:09 <mflorea> ok, on my side I need it for procedure flavor, which is still depending on 8.4 so I can't use the latest version yet
11:10 <ImRG> has joined #xwiki
11:11 <tmortagne> creating a jira issue for it, looks like I forgot
11:14 <evalica> has joined #xwiki
11:18 <ImRG> has left #xwiki
11:31 <Enygma`> has joined #xwiki
11:32 <Enygma`1> has joined #xwiki
11:32 <Enygma`2> has joined #xwiki
11:36 <Enygma`> has quit
11:36 <mflorea> tmortagne: document translation bundles loaded on demand don't seem to have priority over those loaded on wiki. My workaround (loading a separate bundle on demand to overwrite a key) doesn't work.
11:36 <Enygma`1> has quit
11:37 <Enygma`2> has quit
11:39 <Enygma`> has joined #xwiki
11:39 <tmortagne> mflorea: yes all wiki resource have the same priority, I tough you would gest last added bundled with same priori first but does not seems to be the case DefaultTranslationBundleContext should probably make sure of that
11:39 <tmortagne> right now it just use a SortedSet
11:39 <mflorea> ok
11:39 <tmortagne> looks like SortedSet give priority to first things added
11:40 <msmeria1> has joined #xwiki
11:43 <Enygma`> has quit
11:43 <msmeria> has quit
11:44 <Enygma`> has joined #xwiki
12:36 <msmeria> has joined #xwiki
12:36 <msmeria1> has quit
13:20 <vmassol1> has joined #xwiki
13:22 <vmassol> has quit
14:01 <Enygma`> has quit
14:01 <Enygma`> has joined #xwiki
14:02 <Enygma`> has quit
14:02 <Enygma`> has joined #xwiki
14:02 <Enygma`1> has joined #xwiki
14:04 <Enygma`1> has quit
14:06 <Enygma`> has quit
14:06 <Enygma`> has joined #xwiki
14:13 <Enygma`> has quit
14:14 <Enygma`> has joined #xwiki
14:14 <Enygma`> has quit
14:16 <Enygma`> has joined #xwiki
14:19 <Enygma`1> has joined #xwiki
14:20 <Enygma`1> has quit
14:23 <Enygma`1> has joined #xwiki
14:23 <Enygma`> has quit
14:25 <Enygma`> has joined #xwiki
14:27 <Enygma`1> has quit
14:59 <Enygma`> has quit
15:00 <Enygma`> has joined #xwiki
15:22 <edvorg> has joined #xwiki
15:39 <boubou> hey guys
15:40 <boubou> long time no see
15:41 <boubou> Im on xwiki entreprise 8.2.1, is it a fast / good way to update to the 8.4.4 ?
15:45 <woshilap1n> has quit
15:45 <woshilapin> has quit
15:45 <woshilapin> has joined #xwiki
15:48 <vmassol1> has quit
15:49 <vmassol> has joined #xwiki
16:38 <claakmann> has joined #xwiki
16:42 <msmeria> has quit
16:42 <msmeria> has joined #xwiki
16:43 <edvorg> has quit
17:01 <claakmann> hi guys... I have some issues with a new XWiki 8.4.4 installation on JBoss WildFly 10
17:01 <claakmann> When I try to use the CKEditor Extension (v1.10) it works fine in chrome
17:02 <claakmann> but firefox & ie 11 get 404 errors when trying to load xwiki-resource/resourcePicker and xwiki-macro/macroWizard js files
17:02 <claakmann> because they resolve those files without the version number (1.10) for some reason
17:02 <claakmann> any ideas?
17:35 <mflorea> has quit
17:36 <ClemensR> has quit
17:43 <Aranjedeath> has joined #xwiki
17:48 <msmeria> has quit
17:52 <evalica> has quit
17:52 <evalica> has joined #xwiki
17:53 <evalica> has quit
17:54 <Enygma`> has quit
17:59 <gdelhumeau> has quit
18:05 <OSIMasson1> has joined #xwiki
18:14 <sdumitriu1> has quit
18:14 <sdumitriu1> has joined #xwiki
18:25 <sdumitriu1> has quit
18:26 <vmassol1> has joined #xwiki
18:26 <vmassol> has quit
18:31 <tmortagne> has quit
18:33 <vmassol1> has quit
18:37 <vmassol> has joined #xwiki
18:42 <raphael29_> has quit
18:52 <vmassol> has quit
18:53 <vmassol> has joined #xwiki
19:06 <vmassol> has quit
19:10 <vmassol> has joined #xwiki
19:18 <OSIMasson1> has quit
19:19 <vmassol> has quit
19:24 <[d__d]> has quit
19:27 <[d__d]> has joined #xwiki
19:36 <vmassol> has joined #xwiki
19:38 <vmassol> has quit
19:52 <vmassol> has joined #xwiki
19:54 <vmassol> has quit
20:39 <Slashman> has quit

Get Connected