Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Problem with database connection parameters

Strangely, it doesn't work any differently with or without my suggested fix, although without the fix, you can definitely see the wrong values being returned from CatalogRef.decodeConnectionParams.  It is getting these values from the file project.udig.

CatalogPlugin.restoreFromPreferences is getting the right connection parameters which come from the file net.refractions.udig.catalog.services.pref.

In any case, I'm getting the message "layer not rendered" which seems to be coming from the LayerImpl class but I can't figure out the cause of this message.  Can anyone help with this?

David

At 12:08 PM 7/21/2005, you wrote:
I just did some work on CatalogRef, made some test cases and it seems to be working for my test case.  The test case it TestCatalogRef in the net.refractions.udig.project.test plugin.  I've tested postgis and shapefile with my changes.  Let me know if you are still having problems.

Jesse

David Adler wrote:

When the connection parameters are saved at the end of a session and then restored, they are not getting restored correctly.

It appears that the parameter entry separator is not being correctly inserted in the saved string.  My guess is that line 113 in CatalogRef should just be removed so that line 114 is always executed.

Can someone else take a look at this and see if it makes sense?  I can make the change but don't have an easy way to test it for databases other than DB2.


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Back to the top