Skip to content

Followers link throws null reference exception #23

Description

@chsakell

Navigating to Account/Followers, clicking on a follower's link, throws NULL Reference exception cause UserId is null at:

var followers = Mapper.Map<IEnumerable, IEnumerable>(users);

id will be null when reaching Account/UserProfile(string id)
var user = userService.GetUserProfile(id);

Changing both FollowingViewModel and FollowersViewModel to have string Id (not UserId) and their respective partial views will solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions