@mattab opened this Issue on January 20th 2020 Member

(Bug reported by On-Premise support plan customer.)

Steps to reproduce:

  • create 110 users with ./console visitorgenerator:generate-users --limit=100
  • open the dashboard, click on Dashboard, click on "Copy dashboard to user"
  • in the dropdown, select the last user from the list
  • click OK
  • Expected the dashboard to be copied
  • Got a red notification with the error message:
    Cannot copy dashboard to user zankunding, user not found. 
    <a href='/0'>#0</a> [internal function]: Piwik\Plugins\Dashboard\API->copyDashboardToUser('1', 'zankunding', 'Dashboard') 
    <a href='/1'>#1</a> core/API/Proxy.php(237): call_user_func_array(Array, Array) 
    <a href='/2'>#2</a> Context.php(28): Piwik\API\Proxy->Piwik\API\{closure}() 
    <a href='/3'>#3</a> core/API/Proxy.php(328): Piwik\Context::executeWithQueryParameters(Array, Object(Closure)) 
    <a href='/4'>#4</a> core/API/Request.php(265): Piwik\API\Proxy->call('\\Piwik\\Plugins\\...', 'copyDashboardTo...', Array) 
    <a href='/5'>#5</a> plugins/API/Controller.php(41): Piwik\API\Request->process() 
    [...]
@sgiehl commented on January 25th 2020 Member

fixed with #15424

@mattab You've changed the milestone to 3.13.2, but the PR was merged to 4.x-dev already? Shall I cherry pick the commit to 3.x-dev branch, so it will be included in 3.13.2 as well?

This Issue was closed on January 25th 2020
Powered by GitHub Issue Mirror