Opened 20 months ago

Closed 12 months ago

Last modified 12 months ago

#3361 closed Bug (fixed)

Row Evolutions not returning data for Actions.get[Entry|Exit]PageTitles

Reported by: JulienM Owned by: diosmosis
Priority: normal Milestone: 1.12 - The Great 1.x Backlog
Component: Core Keywords:
Cc: Sensitive: no

Description

On Piwik Demo, Actions.getEntryPageTitles returns data for label Piwik Forums:

<row>
  <label> Piwik Forums</label>
  <nb_visits>117</nb_visits>
  [..]

Corresponding row evolution does not return data :

[...]
  <result date="2012-08-20"/>
  <result date="2012-08-21"/>
  <result date="2012-08-22"/>
  <result date="2012-08-23"/>
  <result date="2012-08-24"/>
  <result date="2012-08-25"/>
  <result date="2012-08-26"/>
  <result date="2012-08-27"/>
  <result date="2012-08-28"/>
  <result date="2012-08-29"/>
[...]

Change History (5)

comment:1 Changed 20 months ago by matt (mattab)

  • Milestone set to 1.8.4 - Piwik 1.8.4

Thanks for the report

comment:3 Changed 12 months ago by capedfuzz (diosmosis)

  • Owner set to diosmosis
  • Resolution set to fixed
  • Status changed from new to closed

In 98658d02b90f18a29ea62a1a11ca67866237240f:

Fixes #3361, make sure row evolution works for get[Entry/Exit]PageTitles by adding correct label variation for those reports.

comment:4 in reply to: ↑ 2 Changed 12 months ago by capedfuzz (diosmosis)

@matt, there is no bug, the second URL is incorrect:

  • The date should not be 'today' but a date range including 2012-09-01.
  • The label uses a '>'. In order to differentiate it from just a '>' in the label, each individual label needs to be encoded again (so, urlencode(urlencode($toplevel).'>'.urlencode($nextlevel)) ).

Here is a correct URL that shows data:

http://demo.piwik.org/index.php?module=API&method=ImageGraph.get&idSite=7&apiModule=Actions&apiAction=getDownloads&token_auth=anonymous&graphType=evolution&period=month&date=2012-01-01,2012-12-01&width=500&height=250&label=forum.piwik.org%3E%252Ffile.php%253F5%252Cfile%253D276%252Cfilename%253Dpiwik-report-export_1_.pdf

comment:5 Changed 12 months ago by matt (mattab)

Awesome, nice find & fix! :)

Note: See TracTickets for help on using tickets.