Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groups cannot be created if the entered description is too long #1326

Closed
Gnafu opened this issue Dec 6, 2016 · 3 comments · Fixed by #1396
Closed

Groups cannot be created if the entered description is too long #1326

Gnafu opened this issue Dec 6, 2016 · 3 comments · Fixed by #1396

Comments

@Gnafu
Copy link
Contributor

Gnafu commented Dec 6, 2016

In group manager, if the users inputs a long description the save can fail, so the error message appears:

"There was an error saving this groupInternal Server Error"

Is there a way to display the user the reason of the failure (description too long) ?

@offtherailz
Copy link
Member

This is due to this https://github.com/geosolutions-it/geostore/blob/master/doc/sql/002_create_schema_postgres.sql#L90
The limit can be set at client level, denying the user to digit more than 255 chars.

@simboss simboss added this to the R52016 milestone Dec 6, 2016
@MV88
Copy link
Contributor

MV88 commented Jan 23, 2017

Should i set the limit also for the name of the group? (i.e. 255 for both)

@Gnafu
Copy link
Contributor Author

Gnafu commented Jan 23, 2017

I vote for it.
Make it configurable and set to the GeoStore's default value by default.

MV88 added a commit to MV88/MapStore2 that referenced this issue Jan 24, 2017
@ghost ghost added pending review and removed in progress labels Jan 24, 2017
@ghost ghost removed the pending review label Jan 25, 2017
MV88 added a commit that referenced this issue Jan 25, 2017
* fix #1326 : Added limits for group name and desc and a message

* removed unused property

* used the properties instead of fixed number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants