[Geoserver-devel] [JIRA] (GEOS-8126) Error when create datastore using cURL Rest API

Jinzhou Zhang created an issue

GeoServer / BugGEOS-8126

Error when create datastore using cURL Rest API

Issue Type:

BugBug

Affects Versions:

2.9.1

Assignee:

Unassigned

Attachments:

Screenshot from 2017-05-04 16-36-55.png

Components:

REST

Created:

05/May/17 1:52 AM

Environment:

Ubuntu 16.04
Geoserver 2.9.1
Using node-request make cURL call

Priority:

MediumMedium

Reporter:

Jinzhou Zhang

Hi,

I am using cURL API to do operations over my geoserver. Now I am stuck on creating data store.

From cURL API’s official tutorial, I should create a data store using this uri:
/workspaces/<ws>/datastores/<ds>/[file|url|external][.<extension>]

I did it and a data store was posted on my geoserver. However, the data store is different from data stores I created manually. Here are the differences:

  1. the data store doesn’t have a default feature type which can be published as a layer
  2. when I click it in datastore tag, it doesn’t pop up a screen where I can edit it. Instead, it gives me this error page.

Do you know how can I resolve the issue? What I need is a regular data store which I can use to publish a layer.

Thanks and Regards,

Jinzhou Zhang

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.929.2#100040-sha1:94c1764)

Atlassian logo