IRC Archive for channel #xwiki on 12 June 2012
Last modified by Vincent Massol on 2012/10/18 19:22
00:01 <vmassol> cjd: I'm trying to release 4.1M1 to central
00:02 <vmassol> I've deployed to sonatype staging repo ( https://oss.sonatype.org/index.html#stagingRepositories ) but strangely it has deployed version 3.5.1 of some modules too so I think there's an isssue somewhere in 4.1M1
00:03 <vmassol> grepping
00:15 <@cjd> Anything turn up?
00:15 <vmassol> nope
00:15 <vmassol> I've now copy pasted my console logs
00:15 <vmassol> still not luck so I'm stumped
00:16 <vmassol> ah
00:16 <vmassol> one idea
00:16 <vmassol> maybe there was already a staging repo there
00:16 <vmassol> I'm going to delete it and try again
00:16 <vmassol> 3.5.1 has indeed not been released on maven central
00:16 <vmassol> I guess I must have started it and stopped for some reason
00:17 <vmassol> that would explain it
00:17 <vmassol> dropping
00:17 <@cjd> yeah, I always check the date on the staging repo since there are a couple old ones kicking around
00:18 <@cjd> sdumitriu: you have a couple 2011 staging repos in nexus.xwiki, safe to drop those?
00:18 <@sdumitriu> Yes
00:21 <@cjd> jvelo has a staged version of contrib/xwiki-application-reader from 2010, I think we can safely assume that's nolonger needed
00:22 <vmassol> yep
00:32 <ries> has quit
00:32 <cjd> has quit
00:32 <cjd> has joined #xwiki
00:47 <@cjd> http://91.121.35.169:8080/xwiki/bin/view/Main/
00:50 <vmassol> sdumitriu: I think I had a big issue while trying to release 3.5.1 to maven central but I don't remember the details. I'll try again tomorrow.
00:50 <vmassol> 4.1M1 pushed to central
00:50 <vmassol> will do 4.1M2 and RC1 tomorrow
00:51 <vmassol> has quit
00:54 <@cjd> hmm
00:54 <@cjd> just did a long running upload and hit a csrf token timeout
01:03 <@cjd> I can't upload a 20MB file with my DShelL because the csrf token times out.
01:10 <polx> has quit
06:29 <tekzilla> has quit
06:31 <tekzilla> has joined #xwiki
07:04 <Denis1> has joined #xwiki
07:06 <Denis> has quit
07:28 <CIA-114> tmortagne master * r6fb0009 https://github.com/xwiki/xwiki-platform/commit/6fb00092cf596526fcbc688bd64e59b4a089dd3b / (2 files in 2 dirs): Fix naming (again) - http://git.io/Zfc9Cg
07:28 <CIA-114> tmortagne stable-4.1.x * rfb8b648 https://github.com/xwiki/xwiki-platform/commit/fb8b6485db0224c77b60f39374d1eabd1cb55620 / (2 files in 2 dirs): Fix naming - http://git.io/6YZ0kQ
07:28 <CIA-114> tmortagne stable-4.1.x * r538f2a7 https://github.com/xwiki/xwiki-platform/commit/538f2a7676a25fa1c7c2746d5795922c13470ccb / (2 files in 2 dirs): Fix naming (again) - http://git.io/PQkOpQ
07:33 <mflorea> has joined #xwiki
07:38 <polx> has joined #xwiki
07:45 <vmassol> has joined #xwiki
08:10 <mflorea> has quit
08:17 <CIA-114> tmortagne master * re2ebf86 https://github.com/xwiki/xwiki-platform/commit/e2ebf86f18b89dc69e50ea3c5d7f7b2182eae25a / xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-script/src/main/java/org/xwiki/extension/script/internal/safe/SafeInstalledExtension.java : XCOMMONS-198: Indicate if an installed extension is valid or not - http://git.io/KAXTZQ
08:24 <tmortagne> has joined #xwiki
08:41 <sburjan> has joined #xwiki
09:15 <mflorea> has joined #xwiki
09:31 <CIA-114> has quit
09:31 <CIA-131> has joined #xwiki
09:56 <ssavi_> has joined #xwiki
09:56 <ssavi> has quit
09:56 <ssavi_> is now known as <ssavi>
09:57 <CIA-131> tmortagne master * r608e456 https://github.com/xwiki/xwiki-commons/commit/608e456356bfc35b594b82283eb5520d99557eb0 / (8 files in 3 dirs): XCOMMONS-196: Allow downgrading an extension - http://git.io/h8s-xg
09:59 <jvdrean> has quit
10:03 <+sburjan> vmassol: you reported an issue on IE9, but I am unable to find it in JIra
10:04 <+sburjan> good morning btw :)
10:05 <+sburjan> nvm, found it
10:12 <vmassol> ok
10:21 <vmassol> 4.1M1, M2 and RC1 pushed to maven central
10:21 <vmassol> trying 3.5.1 now
10:26 <ssavi_> has joined #xwiki
10:29 <ssavi> has quit
10:29 <ssavi_> is now known as <ssavi>
10:38 <ssavi> has quit
10:39 <jvdrean> has joined #xwiki
10:43 <ssavi> has joined #xwiki
10:47 <CIA-131> tmortagne master * r6c25877 https://github.com/xwiki/xwiki-enterprise/commit/6c25877ebd82bddc2f13ba6e4043944214e40a10 / xwiki-enterprise-installers/xwiki-enterprise-installer-debian/xwiki-enterprise-installer-debian-tomcat/xwiki-enterprise-installer-debian-tomcat7-mysql/src/deb/control/postinst : XWIKI-7904: xwiki-enterprise-tomcat7-mysql create symlink into /etc/tomcat6/ and not and not in /etc/tomcat7 - http://git.io/qW_TIA
10:47 <CIA-131> tmortagne stable-4.1.x * rf020083 https://github.com/xwiki/xwiki-enterprise/commit/f020083eca64c6a8d8ca291266d5687f852b00c5 / xwiki-enterprise-installers/xwiki-enterprise-installer-debian/xwiki-enterprise-installer-debian-tomcat/xwiki-enterprise-installer-debian-tomcat7-mysql/src/deb/control/postinst : XWIKI-7904: xwiki-enterprise-tomcat7-mysql create symlink into /etc/tomcat6/ and not and not in /etc/tomcat7 - http://git.io/i3l4GA
10:47 <CIA-131> tmortagne stable-4.0.x * r79e7963 https://github.com/xwiki/xwiki-enterprise/commit/79e79636173122ca5a0abc0beb2f099844767e57 / xwiki-enterprise-installers/xwiki-enterprise-installer-debian/xwiki-enterprise-installer-debian-tomcat/xwiki-enterprise-installer-debian-tomcat7-mysql/src/deb/control/postinst : XWIKI-7904: xwiki-enterprise-tomcat7-mysql create symlink into /etc/tomcat6/ and not and not in /etc/tomcat7 - http://git.io/rCab1w
10:51 <vmassol> cjd: good morning, another example of a user testing RC from this morning: check the thread "[ANN] XWiki Enterprise 4.1 Release Candidate 1 is now available."
10:51 <vmassol> :)
10:51 <evalica> has joined #xwiki
10:51 <vmassol> (see mail from Arnaud Bourree)
10:52 <+tmortagne> yes good catch from Arnaud but it's pretty rare :)
10:52 <vmassol> that user would never have tested a staging release, like 99% of all users
10:52 <vmassol> it's not tmortagne
10:52 <vmassol> I've checked our issues
10:52 <vmassol> there are plenty of examples
10:53 <vmassol> it's good if it's seldom though, it could also mean that we're good ;)
10:53 <@cjd> Yes, I took a look at the issues you referenced and although only one was fixed in the following final release, I concede that you are quite right, people do use RC versions in the wild.
10:54 <+tmortagne> that remind me that I should send a vote for a 4.0.1 before 4.1 final is out
10:59 <+tmortagne> vote sent
11:04 <ssavi> has quit
11:10 <ssavi> has joined #xwiki
11:14 <ssavi> has left #xwiki
11:14 <CIA-131> Marius Dumitru Florea master * r72b95bc https://github.com/xwiki/xwiki-platform/commit/72b95bcf91e81d581190f294cca9ff3e56098a5f / xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/js/xwiki/xwikiexplorer/xwikiexplorer.js : Don't filter blacklisted spaces anymore because we hide technical spaces on the server side. - http://git.io/qruZhw
11:20 <+tmortagne> sburjan: could you take care of http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise401#HTestedBrowsers ?
11:21 <+sburjan> tmortagne: I can, but I didn't test it yet
11:21 <+sburjan> testing RC-1 ATM
11:22 <+sburjan> I can create the pages
11:22 <+tmortagne> sure, just to warn you about it
11:24 <+sburjan> are youstarting the release now ?
11:24 <+tmortagne> nop
11:24 <+tmortagne> waiting for the vote to pass
11:24 <+tmortagne> probably tomorrow
11:24 <+sburjan> will we have staging for it ?
11:25 <+tmortagne> sburjan: I don't plan to do staging no
11:25 <+sburjan> then when do I have time to test it ?
11:26 <+tmortagne> it's still not fully decided so I'm planning to do as we always did
11:27 <+tmortagne> sburjan: how were you testing before ?
11:28 <+sburjan> Usually the gap between RC-1 and previous minor version was larger, more days
11:28 <+tmortagne> not sure what this has to do with staging
11:29 <+sburjan> it has nothing to do. I'm just talking about the fact that I have only 2 days to fully test 2 releases
11:29 <+sburjan> and I still have to test migrations for RC-1
11:30 <+sburjan> I'll reply to the vote
11:30 <+tmortagne> sburjan: 4.0.1 does not really have any date, if you need more time I can release it later
11:31 <+sburjan> it would be excelent to release it thursday or friday
11:31 <+tmortagne> yep would be nice to indicate on the vote when it's ok for you
11:31 <+sburjan> untill then I can test that too
11:31 <+tmortagne> ok, any date is ok with me as long as it's before 4.1 final
11:31 <+sburjan> well afaik 4.1 final is Monday .. so Friday is ok with 4.0.1
11:32 <+tmortagne> yes it's planned on monday
11:33 <+sburjan> replied
11:40 <Enygma`> has joined #xwiki
11:41 <evalica> has left #xwiki
11:44 <sburjan`> has quit
11:52 <lucaa> has joined #xwiki
12:04 <SubZM> has joined #xwiki
12:05 <SubZM> Good day people. I got an issue with the irc bot, i run my xwiki trough a vmware workstation with its own ip address. I installed nginx on it to port the tomcat localhost:8080 to port 80. However when i do a !search tagname the bot replys with links to localhost:8080 wich does not work since localhost is my pc not the vmware ip. anyone seen this problem before?
12:46 <tmortagne> has quit
12:57 <evalica> has joined #xwiki
12:58 <evalica> has quit
12:59 <evalica> has joined #xwiki
13:05 <vmassol> sdumitriu: ping
13:11 <vmassol> sdumitriu: see mail I've just sent "3.5.1 release is partly busted…". I had pinged you about it a few weeks ago but you didn't reply so trying again
13:34 <tmortagne> has joined #xwiki
13:39 <SubZM> has quit
15:03 <CIA-131> tmortagne master * r50cb3ed https://github.com/xwiki/xwiki-commons/commit/50cb3ed45821078efabe8b5f71afe8e880777650 / (61 files in 29 dirs): Rename project to make more clear what is it. - http://git.io/Gwc8Sg
15:03 <CIA-131> tmortagne master * rb178fdf https://github.com/xwiki/xwiki-enterprise/commit/b178fdfcf1851a69e18ac806ce8e9840a59e5876 / xwiki-enterprise-web/pom.xml : The project artifact id changed - http://git.io/9MCjgg
15:35 <vmassol> mflorea: I'm having a problem with preview on 4.2snapshot. I'm on a home page generated by AWM and when I edit in wiki mode and click preview it doesn't preview correctly and I have to save to make it work
15:35 <vmassol> any idea?
15:36 <+mflorea> let me try
15:36 <vmassol> it displays what was there before
15:36 <vmassol> (ie before my change in edit mode)
15:37 <+tmortagne> sounds like the preview is based on the database document then
15:37 <+tmortagne> you have the issue even on a simple page ?
15:39 <vmassol> yeah I think it's not related to AWM
15:39 <vmassol> I remember having some issues earlier trying to write a query
15:39 <vmassol> and actually I was hitting preview
15:40 <vmassol> and it was giving me an error but what I typed was actually ok
15:40 <+tmortagne> currently downloading last snapshot to test too
15:40 <vmassol> took me 15 minutes
15:40 <vmassol> (to realize what I had was correct)
15:40 <vmassol> testing on a new page
15:40 <+tmortagne> I don't use preview much, usually use save and continue on one tab and view on another
15:41 <vmassol> works on a new page
15:44 <+tmortagne> works for me too on a simple page when editing content
15:44 <vmassol> it fails on my AWM-generated home page though
15:44 <vmassol> maybe it's related to sheet binding
15:44 <+mflorea> it's related to the sheet
15:45 <+mflorea> I'm debugging
15:45 <vmassol> mflorea: so you can reproduce?
15:45 <+mflorea> yes
15:45 <vmassol> ok
15:47 <+tmortagne> works well when editing inline something stored in an object at least of the page
15:48 <+tmortagne> maybe the wrong document instance is given to the sheet
15:49 <vmassol> it previews the right doc
15:49 <vmassol> it just doesn't take into account the modifications
15:49 <+tmortagne> yes but not the right instance
15:49 <+tmortagne> I did not said it was another document
15:49 <vmassol> ok
15:50 <+tmortagne> it probably use the context document or something like that and bypass the part where this document is updated with datas coming from the request
15:53 <+mflorea> the problem is in the sheet, LiveTableViewSheet, it includes the document content using include macro which ofc uses the document from the cache/db, not the current/modified instance.
15:55 <+mflorea> I can render the content of the modified instance instead of using the include macro
16:32 <vmassol> guys, if I have a js file, can I load it ondemand using a JSX?
16:32 <vmassol> do I need to write velocity code to read the attachment and output it?
16:33 <vmassol> (in the JSX textarea)
16:33 <+mflorea> I guess you don't want to put it on the file system and use jsfx
16:33 <vmassol> I'd rather not if possible
16:34 <+mflorea> you want to load it from the attachment
16:34 <vmassol> there's probably a way in js to load another jsno?
16:34 <vmassol> yep
16:34 <vmassol> if it's not possible I'll use jsfx but that won't allow me to make this installable with the EM ATM
16:35 <vmassol> hmm I guess I'll need to use some tricks such as on http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml
16:35 <+mflorea> unfortunately we don't have a skin extension for this, would be great to have it. What I did is to load the js attachment from js
16:35 <+mflorea> you can check the JWPlayer macro
16:35 <+mflorea> extension
16:35 <vmassol> ok
16:38 <CIA-131> Marius Dumitru Florea master * r06984dc https://github.com/xwiki/xwiki-platform/commit/06984dcbff940d4488bc0f837f13601ac36f9336 / xwiki-platform-core/xwiki-platform-appwithinminutes/src/main/resources/AppWithinMinutes/LiveTableViewSheet.xml : XWIKI-7908: Preview doesn't show my changes when editing the application home page in wiki edit mode - http://git.io/-Z0lmA
16:38 <CIA-131> Marius Dumitru Florea stable-4.1.x * r46419ec https://github.com/xwiki/xwiki-platform/commit/46419ecaf3eb7aa49cc4f6982cd4d728dbf91ef3 / xwiki-platform-core/xwiki-platform-appwithinminutes/src/main/resources/AppWithinMinutes/LiveTableViewSheet.xml : XWIKI-7908: Preview doesn't show my changes when editing the application home page in wiki edit mode - http://git.io/487sjA
16:39 <CIA-131> Marius Dumitru Florea stable-4.0.x * r80837e8 https://github.com/xwiki/xwiki-platform/commit/80837e8046aedc640eadf74f56237551e7ab236c / xwiki-platform-core/xwiki-platform-appwithinminutes/src/main/resources/AppWithinMinutes/LiveTableViewSheet.xml : XWIKI-7908: Preview doesn't show my changes when editing the application home page in wiki edit mode - http://git.io/prFTWg
16:39 <CIA-131> Marius Dumitru Florea stable-3.5.x * r2aa16fc https://github.com/xwiki/xwiki-platform/commit/2aa16fcd4455d553c0e1286e1a6bbe0beb66407b / xwiki-platform-core/xwiki-platform-appwithinminutes/src/main/resources/AppWithinMinutes/LiveTableViewSheet.xml : XWIKI-7908: Preview doesn't show my changes when editing the application home page in wiki edit mode - http://git.io/FGO3Ag
16:39 <@sdumitriu> Yes, we should add a jsax module (JavaScript Attachment eXtension), and the corresponding ssax
16:40 <+mflorea> yep
16:42 <+sburjan> http://jira.xwiki.org/browse/XWIKI-7909 blocker reported
16:59 <vmassol> mflorea: I'm trying https://gist.github.com/2918014 but i don't see the alert box when I use it with:
16:59 <vmassol> {{velocity}}
16:59 <vmassol> $xwiki.jsx.use('Main.Calendar')
16:59 <vmassol> {{/velocity}}
16:59 <vmassol> any idea?
17:01 <+mflorea> let me try
17:03 <vmassol> when I view the source of the page I have: <script type='text/javascript' src='http://localhost:8080/xwiki/bin/jsx/Main/Calendar?language=en' defer='defer'></script> which is correct
17:03 <+mflorea> works for me
17:04 <+mflorea> with the exact same JS code
17:04 <vmassol> hmm
17:04 <+mflorea> did you set the parse flag on jsx object?
17:04 <vmassol> yes
17:04 <vmassol> cahcing long
17:04 <vmassol> and on demand
17:04 <+mflorea> clear cache maybe?
17:04 <vmassol> indeed, works
17:05 <+mflorea> :)
17:05 <vmassol> thanks
17:05 <+mflorea> ;)
17:05 <vmassol> that's the cahcing long I guess
17:06 <+mflorea> I use Ctrl+Shift+R after I change a JSX just to be sure
17:06 <vmassol> hmmm
17:06 <CIA-131> tmortagne master * r12799a6 https://github.com/xwiki/xwiki-commons/commit/12799a6cb47d7a9e847c6dc5bde2fb1f85e46c1a / xwiki-commons-core/pom.xml : XWIKI-7910: Bundle plugin is not enabled in xwiki-commons - http://git.io/bO6RZg
17:06 <CIA-131> tmortagne stable-3.5.x * rf3198bb https://github.com/xwiki/xwiki-commons/commit/f3198bb6752ae9e8a6bbe7f05ec7bfefd86f38fd / xwiki-commons-core/pom.xml : XWIKI-7910: Bundle plugin is not enabled in xwiki-commons - http://git.io/HLIb1w
17:06 <CIA-131> tmortagne stable-4.1.x * r79d1906 https://github.com/xwiki/xwiki-commons/commit/79d1906df90ffd13b83cfc24681bece8e53d6ead / xwiki-commons-core/pom.xml : XWIKI-7910: Bundle plugin is not enabled in xwiki-commons - http://git.io/vSROig
17:06 <vmassol> I get a spinning wheel on the extra tab at the bottom
17:06 <vmassol> it never stops
17:06 <CIA-131> tmortagne stable-4.0.x * r43c26c3 https://github.com/xwiki/xwiki-commons/commit/43c26c302ea1a7f3a676db271d9a882a92becacb / xwiki-commons-core/pom.xml : XWIKI-7910: Bundle plugin is not enabled in xwiki-commons - http://git.io/hFvuHg
17:06 <vmassol> hmm it's ok now
17:07 <vmassol> hmm I guess the js I'm loading conflicts
17:07 <vmassol> clicking on the tabs don't work anymore on that page...
17:07 <+mflorea> yes, jquery and prototype don't like each other
17:08 <+mflorea> I think you need an additional js file that makes jquery work with prototype
17:08 <vmassol> googling
17:09 <vmassol> I'll try to load first jquery instead of last
17:15 <vmassol> I guess I'll have to use http://docs.jquery.com/Core/jQuery.noConflict() and then change the usage of jquery....
17:16 <+mflorea> yes
17:17 <vmassol> hmm doesn't seem to help
17:18 <vmassol> hmm I need to modify stuff
17:20 <vmassol> ok it's too hard....
17:20 <vmassol> :)
17:20 <vmassol> I wanted something quick for my demo
17:21 <vmassol> I wanted to integrate http://arshaw.com/fullcalendar/
17:21 <vmassol> it would be really cool
17:21 <+mflorea> maybe there is something similar build on top of prototype.js
17:21 <vmassol> I have created an app to enter talks at a conference and I wanted to generate JSON and use that calendar to display them
17:21 <vmassol> using http://arshaw.com/js/fullcalendar-1.5.3/demos/json.html
17:22 <vmassol> that would be so cool
17:22 <vmassol> prototype is pretty poor
17:22 <vmassol> compared to jquery
17:22 <vmassol> I've searched and couldn't find one on prototype
17:22 <vmassol> I only got small calendars fro choosing dates
17:22 <vmassol> and this calendar really looks cool
17:23 <vmassol> btw found http://code.google.com/p/fullcalendar/issues/detail?id=1017
17:23 <+mflorea> it looks nice indeed, but you need to update all the places where it uses jquery (the parts that conflict with prototype.js at least)
17:27 <vmassol> yeah and there are a lot of $ usages
17:27 <vmassol> including lots of stuff I don't understand like:
17:27 <vmassol> (function($, undefined) {
17:28 <vmassol> seems to be removing the $ function
17:28 <vmassol> actually hmm
17:29 <vmassol> the fullcalendar.js has this construct:
17:29 <vmassol> (function($, undefined) {
17:29 <vmassol> })(jQuery);
17:30 <vmassol> and the whole js is inside
17:31 <vmassol> found the explanation http://enterprisejquery.com/2010/07/create-your-first-jquery-plugin-part-1-transition-from-everyday-jquery-code-to-base-plugin/
17:32 <vmassol> that looks cool
17:32 <vmassol> it says that $ means jQuery inside the function whatever the value is has outside
17:33 <vmassol> that's cool for avoiding conflict with prototype
17:33 <vmassol> so that should work fine normally...
17:35 <+sburjan> Hello. I have a question. AFAIK Attachment Selector Macro is bundled with platform, but why EM sees it as a instalable extension ? I have it in the Add Extensions list
17:36 <vmassol> because it's also an extension
17:36 <vmassol> and
17:36 <vmassol> EM doesn't know what is installed without EM
17:36 <vmassol> (ATM)
17:37 <+sburjan> it's confusing for end users
17:37 <vmassol> yep
17:37 <vmassol> tmortagne is working on that
17:37 <vmassol> to recognize XE as a set of extensions
17:38 <+sburjan> cool
17:40 <+sburjan> for example ATM is hard to internationalize an extension, right ? because you have to manually add translation bundles in admin section, right ?
17:42 <vmassol> mflorea: it's jquery-1.7.1.min.js that causes the trouble. If I comment it I don't have any issue and if I leave it and comment all the other JS it fails
17:43 <@sdumitriu> vmassol: I think that both libraries define observe(), but with different arguments
17:44 <vmassol> http://drafts.workingdemo.com/2011/01/migrating-prototype-to-jquery/
17:44 <vmassol> (shows the difference between both frameworks)
17:45 <vmassol> seems jquery uses bind instead of observe
17:45 <vmassol> checking jquery js code
17:58 <jvdrean1> has joined #xwiki
18:00 <vmassol> mflorea: I don't see observe in http://code.jquery.com/jquery-1.7.1.js
18:01 <+mflorea> that's for sdumitriu
18:01 <@sdumitriu> Ah, no, I'm confusing with the extjs conflict
18:01 <vmassol> mflorea: ah indeed
18:01 <vmassol> (thought it was you talking earlier ;))
18:02 <@sdumitriu> Sorry for the red herring
18:02 <jvdrean> has quit
18:02 <vmassol> np, any help is welcome
18:02 <vmassol> I see we have an extension on e.x.o for using jquery but I guess it has the same problem
18:03 <+mflorea> so if it works without jquery-1.7.1-min.js what is the problem?
18:04 <vmassol> mflorea: this is jquery so without it nothing much will get done ;)
18:04 <vmassol> fullcalendar is using jquery
18:04 <vmassol> when I said "work" I meant the xwiki tab at the bottom
18:04 <vmassol> that was to find which js was causing the problem
18:05 <vmassol> and it's jquery-1.7.1 js....
18:05 <+mflorea> ah, ok, I though that the 'no conflict' thing is provided in a separate file, but it comes with jquery
18:05 <vmassol> the other js are protected against the $ issue so nofonclit is not even needed
18:05 <vmassol> fonclit-->conflict
18:05 <vmassol> (AFAICS)
18:06 <vmassol> I've read somewhere that prototype does pretty bad things
18:06 <vmassol> like override native functions
18:06 <vmassol> like getElementByTagName
18:06 <@sdumitriu> No, it doesn't
18:07 <+mflorea> it enhances existing objects
18:07 <+mflorea> with new methods
18:07 <vmassol> let me find the thread I was reading
18:07 <@sdumitriu> It defines some methods when they don't exist, for legacy browsers
18:07 <@sdumitriu> Usually the way that happens is that Prototype was first to use that function, but later it was added in a JS specification
18:08 <@sdumitriu> In that case prototype will deprecate that function name, use a new name and only provide the old function name when the browser doesn't have it
18:08 <vmassol> here: http://forum.jquery.com/topic/jquery-conflicts-with-prototype-and-the-fix
18:09 <vmassol> "HTMLElement.prototype.getElementsByClassName is overwritten by prototype.js and it uses $ which is overwritten by jQuery. The result is that jQuery can't finish initializing and prototype is also left broken."
18:12 <mflorea> has quit
18:13 <@sdumitriu> if (!document.getElementsByClassName) document.getElementsByClassName = function(instanceMethods){
18:13 <@sdumitriu> So indeed it does define getElementsByTagName, but only when the browser doesn't have it
18:13 <vmassol> hmm seems that the jquery helper extension works fine
18:13 <@sdumitriu> (but that only happens in ancient browsers, I don't think it's the reason why you're having trouble)
18:14 <vmassol> it's using jquery 1.7.2
18:14 <vmassol> I'll try using that
18:17 <sburjan> has quit
18:26 <vmassol> sdumitriu: rendeirng-archetype-macro has the same problem
18:26 <vmassol> (ie 3.5-SNAPSHOT)
18:26 <vmassol> on 3.5.1
18:26 <@sdumitriu> K
18:29 <vmassol> sdumitriu: do you know what defer=false does in: $xwiki.jsx.use("jQuery.jQuery", {'defer': false}) ?
18:30 <@sdumitriu> It doesn't defer the script, which means that it will be executed as soon as the <script> tag is parsed
18:31 <vmassol> ok
18:31 <@sdumitriu> Defered scripts will be downloaded in the background and will be executed before the dom:loaded event is sent
18:31 <vmassol> ok , I remember now
18:31 <vmassol> thanks