You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Peter van der Velde (JIRA)" <ji...@apache.org> on 2008/07/30 16:15:31 UTC

[jira] Created: (FTPSERVER-142) {uid} sql replacement variable will not work in oracle

{uid} sql replacement variable will not work in oracle
------------------------------------------------------

                 Key: FTPSERVER-142
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-142
             Project: FtpServer
          Issue Type: Bug
          Components: Core
            Reporter: Peter van der Velde
            Priority: Minor


variable replacement in sql statements does not work for oracle because uid is a special field in oracle.
In file AbstractUserManager.java:

public abstract 
class AbstractUserManager implements UserManager {

    public static final String ATTR_LOGIN             = "uid";
    public static final String ATTR_PASSWORD          = "userpassword";

Changing the ATTR_LOGIN to "userid" (or anything but uid) will solve this problem.

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


[jira] Closed: (FTPSERVER-142) {uid} sql replacement variable will not work in oracle

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson closed FTPSERVER-142.
---------------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.0-M2
         Assignee: Niklas Gustavsson

Duplicate of FTPSERVER-60

> {uid} sql replacement variable will not work in oracle
> ------------------------------------------------------
>
>                 Key: FTPSERVER-142
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-142
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>            Reporter: Peter van der Velde
>            Assignee: Niklas Gustavsson
>            Priority: Minor
>             Fix For: 1.0-M2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> variable replacement in sql statements does not work for oracle because uid is a special field in oracle.
> In file AbstractUserManager.java:
> public abstract 
> class AbstractUserManager implements UserManager {
>     public static final String ATTR_LOGIN             = "uid";
>     public static final String ATTR_PASSWORD          = "userpassword";
> Changing the ATTR_LOGIN to "userid" (or anything but uid) will solve this problem.

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