Opened 4 years ago

Closed 4 years ago

#1727 closed Bug (fixed)

Visitor Generator Plugin - idSite not being set from form (POST variable)

Reported by: fspadini Owned by:
Priority: low Milestone: Piwik 1.1
Component: Core Keywords:
Cc: Sensitive: no

Description

The visitor generator plugin will always write it's data to idSite = 1 - even when the user selects a different site from the dropdown.

The input form uses both request variables and post variables - the request idSite is the current site ID that the superuser is set to view (which in my case is always 1 when i choose settings) whilst the idSite from the dropdown box is being passed as a post. When the controller goes to retrieve the dropdown variable it returns the value from the URL, not from the POST.

The fix is to rename the site dropdown box variable so it gets passed properly to the controller.

Change History (2)

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Keywords visitorgenerator removed
  • Milestone set to 1.1 - Piwik 1.1
  • Summary changed from Visitor Generator Plugin - siteID not being set to Visitor Generator Plugin - idSite not being set from form (POST variable)

comment:2 Changed 4 years ago by vipsoft (robocoder)

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

(In [3173]) fixes #1727

Note: See TracTickets for help on using tickets.