[jira] Created: (GEOS-386) if a column is primary key in postgis, then it is completly ignored wen creating a new featureType

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (GEOS-386) if a column is primary key in postgis, then it is completly ignored wen creating a new featureType

JIRA jira@codehaus.org
if a column is primary key in postgis, then it is completly ignored wen creating a new featureType
--------------------------------------------------------------------------------------------------

         Key: GEOS-386
         URL: http://jira.codehaus.org/browse/GEOS-386
     Project: GeoServer
        Type: Bug
  Components: PostGIS, Global, Configuration  
    Versions: 1.2.3, 1.2.4, 1.2.5, 1.3.0-beta, 1.3.0-beta2, 1.3.0-beta3, 1.3.0-beta4, 1.3-rc1, 1.3-rc2    
 Environment: linux 2.6.11-k7
Debian
J2SDK1.5-sun
postgresql 8.03
postgis last release
 
 Reporter: michael jenik
 Assigned to: dblasby


I made this test after I realised of the existence of this specific bug.
In postgresql I did :

CREATE TABLE foo1
(
  A varchar,
  B varchar,
  CONSTRAINT foo1_pk PRIMARY KEY (B)
);

Then in geoserver had just defined a datastore for that database, so I just opened the page to create a New feature type.
Selecting pgis::foo1, I only see
"
a: string nillable:true min:0 max:1
"
in the Featuretype description form. Note that I dont see B because it is primary key.

Thanks in advance.



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Geoserver-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (GEOS-386) if a column is primary key in postgis, then it is completly ignored wen creating a new featureType

JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/GEOS-386?page=all ]
     
dblasby reopened GEOS-386:
--------------------------


closing issues means its been fixed -- this hasnt and will continue to confuse people (it did for me).  Perhaps this means more options when you make a postgis datastore (ie. what type of fidmapper you need).  I'm gonna reopen this and set it for 1.4.

> if a column is primary key in postgis, then it is completly ignored wen creating a new featureType
> --------------------------------------------------------------------------------------------------
>
>          Key: GEOS-386
>          URL: http://jira.codehaus.org/browse/GEOS-386
>      Project: GeoServer
>         Type: Bug
>   Components: PostGIS, Global, Configuration
>     Versions: 1.2.3, 1.2.4, 1.3.0-beta2, 1.2.5, 1.3.0-beta, 1.3.0-beta3, 1.3-rc2, 1.3-rc1, 1.3.0-beta4
>  Environment: linux 2.6.11-k7
> Debian
> J2SDK1.5-sun
> postgresql 8.03
> postgis last release
>  
>     Reporter: michael jenik
>     Assignee: dblasby
>      Fix For: 1.4

>
> Original Estimate: 7 minutes
>         Remaining: 7 minutes
>
> I made this test after I realised of the existence of this specific bug.
> In postgresql I did :
> CREATE TABLE foo1
> (
>   A varchar,
>   B varchar,
>   CONSTRAINT foo1_pk PRIMARY KEY (B)
> );
> Then in geoserver had just defined a datastore for that database, so I just opened the page to create a New feature type.
> Selecting pgis::foo1, I only see
> "
> a: string nillable:true min:0 max:1
> "
> in the Featuretype description form. Note that I dont see B because it is primary key.
> Thanks in advance.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geoserver-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel