Opened 5 years ago

Closed 5 years ago

#923 closed Bug (fixed)

invalid response from API UsersManager.getSitesAccessFromUser

Reported by: matt Owned by:
Priority: major Milestone: Piwik 0.4.4
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by vipsoft)

http://piwik.org/demo/index.php?module=API&method=UsersManager.getSitesAccessFromUser&userLogin=julien&format=xml

<?xml version="1.0" encoding="utf-8" ?>
<result>
	<row>
		<1>view</1>
		<3>view</3>
	</row>
</result>

Change History (4)

comment:1 Changed 5 years ago by pebosi

hm, how should it look like?

regards

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

  • Description modified (diff)

I'm guessing this would be ok?

<?xml version="1.0" encoding="utf-8" ?>
<result>
	<row>
		<site>1</site>
		<access>view</access>
	</row>
	<row>
		<site>3</site>
		<access>view</access>
	</row>
</result>

comment:3 Changed 5 years ago by matt (mattab)

Looks good to me

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

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

In [1477], fixes #923 - invalid XML response from UsersManager.getSitesAccessFromUser

Note: See TracTickets for help on using tickets.