Download & Extend

blogapi_metaweblog_get_category_list does not validate user

Project:Drupal core
Version:6.x-dev
Component:blogapi.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

blogapi_metaweblog_get_category_list does not call blogapi_validate_user and generates errors when working with authenticated users. Most (all?) of the other blogapi_* functions make this call at the beginning of the function:

$user = blogapi_validate_user($username, $password);
if (!$user->uid) {
return blogapi_error($user);
}

Adding the above code to blogapi_metaweblog_get_category_list fixes the error and the API call will return categories.

Comments

#1

Project:Blogger» Drupal core
Version:master» 6.x-dev
Component:Code» blogapi.module

Moving to appropriate issue queue

#2

Status:active» closed (duplicate)

Looked briefly and don't see the issue offhand but this has been fixed in some other issue.

nobody click here