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

Row evolution broken #12862

Closed
chris246 opened this issue May 8, 2018 · 2 comments · Fixed by #12877
Closed

Row evolution broken #12862

chris246 opened this issue May 8, 2018 · 2 comments · Fixed by #12877
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@chris246
Copy link

chris246 commented May 8, 2018

Opening row evolutions (on Dashboard > Pages) throws the following error:
Error: Expected date to be an instance of \Piwik\Date

Matomo Version 3.5.0

@sgiehl
Copy link
Member

sgiehl commented May 8, 2018

Could you post the full querystring of the page that caused the error? Would maybe help to reproduce and fix.

@mattab mattab added this to the 3.5.1 milestone May 8, 2018
@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels May 8, 2018
@mattab
Copy link
Member

mattab commented May 8, 2018

Thanks for the report @chris246, it is reproducible in Dashboard > Pages widget, getting:

Expected date to be an instance of \Piwik\Date

#0 www/plugins/CoreHome/Controller.php(249): Piwik\Plugins\CoreHome\DataTableRowAction\RowEvolution->__construct(1, NULL, NULL)
#1 www/plugins/CoreHome/Controller.php(215): Piwik\Plugins\CoreHome\Controller->makeRowEvolution(false)
#2 [internal function]: Piwik\Plugins\CoreHome\Controller->getRowEvolutionPopover()
#3 www/core/FrontController.php(559): call_user_func_array(Array, Array)
#4 www/core/FrontController.php(137): Piwik\FrontController->doDispatch('CoreHome', 'getRowEvolution...', Array)
#5 www/core/dispatch.php(34): Piwik\FrontController->dispatch()
#6 www/index.php(27): require_once('/
#7 {main}

URL: /index.php?date=2018-05-02,2018-05-08&apiMethod=Actions.getPageUrls&label=%40%252Fjobs&disableLink=1&module=CoreHome&action=getRowEvolutionPopover&colors=%7B%22backgroundColor%22%3A%22%23ffffff%22%2C%22lineColor%22%3A%22%23162c4a%22%2C%22minPointColor%22%3A%22%23ff7f7f%22%2C%22maxPointColor%22%3A%22%2375bf7c%22%2C%22lastPointColor%22%3A%22%2355aaff%22%7D&idSite=1&period=range

@sgiehl sgiehl self-assigned this May 9, 2018
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. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants