I realized that in DbUserManager

if (trueStr.equalsIgnoreCase(rs.getString(ATTR_WRITE_PERM))) {
                    authorities.add(new WritePermission());
                }

is returning false under MySQL 5.037 because booleans are stored as tinyints and Boolean.TRUE.toString() is returning 'true'. I hacked around this issue for now, as I'm about six years removed from Java development and don't feel comfortable submitting a real patch :-).


On Aug 20, 2008, at 7:06 AM, Niklas Gustavsson wrote:

On Wed, Aug 20, 2008 at 11:42 AM, Erik Morton <[EMAIL PROTECTED]> wrote:
Yes, silly typo. ./res/admin is a directory.

I am able to get a file from ./res/admin, I just can't put a file there.

That's odd. Are you running from trunk? If so, I can add in some
additional debug log statements so that we can see in more detail what
happens.

/niklas

Reply via email to