@anonymous-piwik-user opened this Issue on March 30th 2010

When using the API and calling:

SitesManager.addSite

One can add the same URL infinitely, with no errors. New database entries are created.

Unless I'm missing some reason one would want to have multiple site entries with the same URL, this should be considered a bug.

It would convenient if the method just returned the existing record, perhaps?

@robocoder commented on March 31st 2010 Contributor

There may be use cases (e.g., split a/b testing, aggregating multiple sites), where a site might have more than one id associated with a URL.

This Issue was closed on March 31st 2010
Powered by GitHub Issue Mirror