[ 
https://issues.apache.org/jira/browse/TRB-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Vandahl reassigned TRB-76:
---------------------------------

    Assignee: Thomas Vandahl

> The PeerManagers of the TorqueSecurityService use the wrong database name in 
> checkExists()
> ------------------------------------------------------------------------------------------
>
>                 Key: TRB-76
>                 URL: https://issues.apache.org/jira/browse/TRB-76
>             Project: Turbine
>          Issue Type: Bug
>          Components: Turbine 2.3
>    Affects Versions: Core 2.3.3
>            Reporter: Thomas Vandahl
>            Assignee: Thomas Vandahl
>            Priority: Critical
>
> In the *PeerManager classes, the checkExists() method uses the following code:
>         Criteria criteria = new Criteria();
>         criteria.addSelectColumn(getIdColumn());
>         criteria.add(getNameColumn(), group.getName());
>         List results = BasePeer.doSelect(criteria);
> This leads to errors when the database used for the security classes is not 
> the default database.
>  The code should read:
>         Criteria criteria = new Criteria();
>         criteria.add(getNameColumn(), group.getName());
>         List results = doSelect(criteria);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to