On Wed, Nov 18, 2009 at 19:09, Jean-Vincent Drean <[email protected]> wrote:
On Wed, Nov 18, 2009 at 5:16 PM, Thomas Mortagne <[email protected]> wrote:
Hi,
Since we introduce document footer informations view statistics are store several time for the same user view of a page.
See http://jira.xwiki.org/jira/browse/XWIKI-4590
The issue is that theses tabs are loaded asynchronously in ajax and make a call using view action.
Here are some solutions: 1/ introduce a new action "viewinternal", "service" or anything else that would be a "view" action without UI and not taken into account by statistics (that register for "view" action events) 2/ pretty much the same thing that 1/ but based on a URL parameter 3/ use an additional AJAX request similar to a google analytics call to record statistics
As i said in jira I'm against 3/
2/ seems too big for a URL parameter to me and it makes statistics depends on URL parameters where 1/ fix the issue without touching anything in the statistics module
+1 for 1/ +0 for 2/ -1 for 3/
1/ sounds best. Since those calls are most of the times using xpage=plain for AJAX actions it might be nice to have a new action doing what xpage=plain does, WDYT ?
Yes that's the idea, fixing a bug by introducing a useful feature :)
JV. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne