roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <>
Subject [jira] [Closed] (ROL-1429) Enabled flag passed in the UserData constructor is ignored
Date Mon, 07 Jan 2013 01:23:11 GMT


Glen Mazza closed ROL-1429.

    Resolution: Fixed

According to last commentor this problem has been fixed.
> Enabled flag passed in the UserData constructor is ignored
> ----------------------------------------------------------
>                 Key: ROL-1429
>                 URL:
>             Project: Roller
>          Issue Type: Bug
>            Reporter: Denis Balazuc
>            Assignee: Roller Unassigned
>            Priority: Minor
>         Attachments: ASF.LICENSE.NOT.GRANTED--UserData-constructor-enabled-patch-3.1.txt
> org.apache.roller.pojos.UserData contains a minor typo in its constructor which causes
the Boolean isEnabled parameter to be ignored.
> The member variable "enabled" is affected to itself, which defaults to TRUE.
>  public UserData( String id, String userName,
>             String password, String fullName,
>             String emailAddress,
>             String locale, String timeZone,
>             Date dateCreated,
>             Boolean isEnabled) {
>        [SNIP]
>         this.enabled = enabled;
>     }
> It is suspected that this is a bug, although, analyzing the usage of this constructor
shows that only UserData.SYSTEM_USER and UserData.ANONYMOUS_USER seem to be using it, so it
seems that this bug has no functional impact.
> A small patch is attached to solve this error.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message