On 6/14/01 12:34 PM, "Jerome Verleyen" <[EMAIL PROTECTED]> wrote:
> John Menke wrote:
>>
>> I found this on the list as the fix for PostgreSQL and Village workaround:
>>
>>> Yes, that is the Hashtable of TurbineUser that pose problem whith
>>> PostGresql. When I comment the method "setPermStorage" in the
>>> TurbineUserPeer file from the cvs sources of turbine, all is going
>>> good...
>>
>> But, when I comment out the call to setPermStorage in TurbineUserPeer I am
>> no longer able to log in via TDK main page (localhost/myapp/servlet/myapp).
>> I get the login screen as before, but the login doesn't work and keeps
>> redirecting me back to the login form.
>>
>> When I don't have the setPermStorage commented out I am able to log in but
>> I'm unable to update any records
>>
>> Does anyone have the TDK working with PostgreSQL?
>
> Helo,
> I'm wrong on this message i've put..
> I should say that i comment the line
>
> "criteria.add( TurbineUserPeer.OBJECT_DATA, permData );"
>
> from the method "buildCriteria(User user)" of the class
>
> TurbineUserPeer.java.
>
> And this going weel.
> But like comment out Jon Stevens, that's no good to modify himself this
> code.. I just make this to "try".
> The problem with postgresql seem to be from Village package. And We
> don't have the source, so i can continu to find this bug.. )) Hope it
> willl correct soon .;)
The source for village is freely available. It is under
an apache style license. If you want to track down the problem
I'm sure that Jon will apply the patch.
http://share.whichever.com/index.php?SCREEN=village
I'll track it down eventually if you don't, but
give it a shot. There have only been a handful
of changes to Village between the time it worked
with Postgres and the time it didn't.
You can also try an older version of Village, I
know that the 1.3 jar works with Postgres fine
I believe.
For fun I'll take a peek at it today and try an
older version of Village with the TDK and report.
>
> Jerome Verleyen
--
jvz.
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]