[xwiki-users] GA JSX not loaded anymore after 4.0--6.0.1 migration

2014-07-03 Thread Sylvain MARIE
Hello,

After migrating the database content of XWiki 4.0 into a new XWiki 6.0.1 
engine, the GA tracking JSX is no longer loaded in the XWiki pages :-(
I checked :
. 
http://bimguides.vtreem.com/bin/admin/XWiki/XWikiPreferences?section=analytics 
reports Google Analytics™ is running  with the proper GA ID
. on 
http://bimguides.vtreem.com/bin/edit/XWiki/GoogleAnalyticsCode?editor=object 
the following attributes are set:
Use this extension « Always on this wiki »
Parse content: yes
caching: long (also tried default)
Still, the Google Analytics debugger extension reports that the GA JS code is 
not fetched by the XWiki page (and indeed, there is no GA script in the page 
html source).

Does anyone know if the JSX mechanics has changed between 4.0 and 6.0.1 ? (I 
may have overwritten working code with outdated code when I used my 4.0 
mysqldump result with the fresh 6.0.1 WAR ?)

Thanks for your help!
Sylvain


Sylvain MARIE
VTREEM.com

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] GA JSX not loaded anymore after 4.0--6.0.1 migration

2014-07-03 Thread Eduard Moraru
Hi Sylvain,

Just a wild guess here, but for Always on this wiki options to work, the
page needs to be saved with programming rights (so by a user that has PR).
Maybe something happened during the migration and the page got saved by a
user not having PR.

Try to save the XWiki/GoogleAnalyticsCode
http://bimguides.vtreem.com/bin/edit/XWiki/GoogleAnalyticsCode?editor=object
page with the XWiki.Admin user, or any user having PR rights. This should
properly register the JSX.

Hope this helps,
Eduard


http://bimguides.vtreem.com/bin/edit/XWiki/GoogleAnalyticsCode?editor=object


On Thu, Jul 3, 2014 at 2:26 PM, Sylvain MARIE sylvain.ma...@vtreem.com
wrote:

 Hello,

 After migrating the database content of XWiki 4.0 into a new XWiki 6.0.1
 engine, the GA tracking JSX is no longer loaded in the XWiki pages :-(
 I checked :
 .
 http://bimguides.vtreem.com/bin/admin/XWiki/XWikiPreferences?section=analytics
 reports Google Analytics™ is running  with the proper GA ID
 . on
 http://bimguides.vtreem.com/bin/edit/XWiki/GoogleAnalyticsCode?editor=object
 the following attributes are set:
 Use this extension « Always on this wiki »
 Parse content: yes
 caching: long (also tried default)
 Still, the Google Analytics debugger extension reports that the GA JS code
 is not fetched by the XWiki page (and indeed, there is no GA script in the
 page html source).

 Does anyone know if the JSX mechanics has changed between 4.0 and 6.0.1 ?
 (I may have overwritten working code with outdated code when I used my 4.0
 mysqldump result with the fresh 6.0.1 WAR ?)

 Thanks for your help!
 Sylvain


 Sylvain MARIE
 VTREEM.com

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] GA JSX not loaded anymore after 4.0--6.0.1 migration

2014-07-03 Thread Sylvain MARIE

Hi Eduard,

Good catch !!
Forcing my user to have programming rights and re-saving the 
GoogleAnalyticsCode page did the trick. Many thanks !
I don’t know if a warning could be issued when a JSX is edited by a user 
without PR rights ? It could definitely help detecting such problems.
Anyway, thanks for your speedy and spot-on answer :-)
Sylvain

Sylvain MARIE
VTREEM.com

Le 3 juil. 2014 à 14:19, Eduard Moraru enygma2...@gmail.com a écrit :

 Hi Sylvain,
 
 Just a wild guess here, but for Always on this wiki options to work, the
 page needs to be saved with programming rights (so by a user that has PR).
 Maybe something happened during the migration and the page got saved by a
 user not having PR.
 
 Try to save the XWiki/GoogleAnalyticsCode
 http://bimguides.vtreem.com/bin/edit/XWiki/GoogleAnalyticsCode?editor=object
 page with the XWiki.Admin user, or any user having PR rights. This should
 properly register the JSX.
 
 Hope this helps,
 Eduard
 
 
 http://bimguides.vtreem.com/bin/edit/XWiki/GoogleAnalyticsCode?editor=object
 
 
 On Thu, Jul 3, 2014 at 2:26 PM, Sylvain MARIE sylvain.ma...@vtreem.com
 wrote:
 
 Hello,
 
 After migrating the database content of XWiki 4.0 into a new XWiki 6.0.1
 engine, the GA tracking JSX is no longer loaded in the XWiki pages :-(
 I checked :
 .
 http://bimguides.vtreem.com/bin/admin/XWiki/XWikiPreferences?section=analytics
 reports Google Analytics™ is running  with the proper GA ID
 . on
 http://bimguides.vtreem.com/bin/edit/XWiki/GoogleAnalyticsCode?editor=object
 the following attributes are set:
Use this extension « Always on this wiki »
Parse content: yes
caching: long (also tried default)
 Still, the Google Analytics debugger extension reports that the GA JS code
 is not fetched by the XWiki page (and indeed, there is no GA script in the
 page html source).
 
 Does anyone know if the JSX mechanics has changed between 4.0 and 6.0.1 ?
 (I may have overwritten working code with outdated code when I used my 4.0
 mysqldump result with the fresh 6.0.1 WAR ?)
 
 Thanks for your help!
 Sylvain
 
 
 Sylvain MARIE
 VTREEM.com
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users