Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata for report Referrers.getReferrerType could not be found. #9697

Closed
mattab opened this issue Feb 4, 2016 · 15 comments
Closed

Metadata for report Referrers.getReferrerType could not be found. #9697

mattab opened this issue Feb 4, 2016 · 15 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@mattab
Copy link
Member

mattab commented Feb 4, 2016

In a goal report, the "Goals by Referrers > Referrer Type" report fails to load.

Reproduce URL: https://demo.piwik.org/index.php?module=CoreHome&action=index&idSite=7&period=day&date=yesterday#?module=Goals&action=goalReport&idSite=7&period=day&date=yesterday&idGoal=2

In Goals by Referrers > Referrer Type, we get The DataTable cannot be manipulated: Metadata for report Referrers.getReferrerType could not be found. You can define the metadata in a hook, see example at: http://developer.piwik.org/api-reference/events#apigetreportmetadata

Notes:

  • Why it was not caught in the UI tests?
  • Let's add UI test if there isn't one already
@tsteur
Copy link
Member

tsteur commented Feb 4, 2016

If it's not caused by tests it's likely because of another plugin... I'll have a look

@tsteur
Copy link
Member

tsteur commented Feb 4, 2016

So it works on my local instance. Must be caused by another plugin!

@mattab
Copy link
Member Author

mattab commented Feb 4, 2016

do you know if it would be possible to write in error message which plugin causes this issue?

@tsteur
Copy link
Member

tsteur commented Feb 4, 2016

Nope, not even sure how to detect such thing or how it is happening

@tsteur
Copy link
Member

tsteur commented Feb 4, 2016

Which custom plugins are active there?

@tsteur
Copy link
Member

tsteur commented Feb 4, 2016

FYI: It works on demo2, so it might be a plugin or something that is active on demo but not demo2

@tsteur
Copy link
Member

tsteur commented Feb 4, 2016

BTW: This is a backtrace

image

@tsteur
Copy link
Member

tsteur commented Feb 4, 2016

It might be fixed by removing lines https://github.com/piwik/piwik/blob/master/core/API/DataTableManipulator.php#L159-L161 but then at the same time I have no idea why it works for other reports...

Actually this shouldn't make a difference and it's not the problem

@ghost ghost added this to the 2.16.1 milestone Mar 10, 2016
@ghost ghost added the Bug For errors / faults / flaws / inconsistencies etc. label Mar 10, 2016
@mattab
Copy link
Member Author

mattab commented Mar 10, 2016

(note: the "reproduce URL" I initially pasted now is working fine..)

@quba
Copy link
Contributor

quba commented Mar 10, 2016

Maybe it's because some non-default datatable visualization setting?

@pennadl
Copy link

pennadl commented Mar 12, 2016

Same problem here, happened from a day to another

@sgiehl
Copy link
Member

sgiehl commented Mar 21, 2016

Ok. I'm able to reproduce it with the following steps:

  1. Got to Referrers > All Referrers
  2. Flatten the Referrer Type Report
  3. Go to a Goal report page and the referrer type report will show the above mentioned error

Switching back to non-flattened all referrers report solves the problem on the goal report.

Note: Metadata is not found as idGoal is set as parameter for the report, but there is no metadata for referrer reports based in idGoal

@sgiehl
Copy link
Member

sgiehl commented Apr 7, 2016

We need to find a better solution for this error for 3.0. See discussion in #9993

@sgiehl sgiehl reopened this Apr 7, 2016
@sgiehl sgiehl modified the milestones: 3.0.0, 2.16.1 Apr 7, 2016
@sgiehl sgiehl removed their assignment Jun 1, 2016
@mattab
Copy link
Member Author

mattab commented Jun 19, 2017

@sgiehl what should we do here? would be good to close this ticket or fix it if possible. Thanks

@mattab
Copy link
Member Author

mattab commented Dec 10, 2023

Fixed in the meantime 👍

@mattab mattab closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2023
@sgiehl sgiehl added the worksforme The issue cannot be reproduced and things work as intended. label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

5 participants