[
https://issues.apache.org/jira/browse/JENA-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072270#comment-15072270
]
Bruno P. Kinoshita commented on JENA-1088:
------------------------------------------
Added a simple trim in the HTML input field value, just before its value is
serialized and sent to the server layer.
Adding dataset names with spaces still displays a server error message in a
bottom panel on the UI, but I think that's fine.
I tried to remove the old datasets, that had several spaces, and the UI didn't
work (I could delete other datasets like /books, /test). So I think this simple
validation may prevent some issues from being reported here, but in the future
we may have to add/modify the rules according to issues/bugs and user reports.
> Fuseki 2 allows duplicate datasets when using only spaces in name
> -----------------------------------------------------------------
>
> Key: JENA-1088
> URL: https://issues.apache.org/jira/browse/JENA-1088
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki
> Reporter: Bruno P. Kinoshita
> Assignee: Andy Seaborne
> Labels: web
> Attachments: JENA-1088.png, Jena-1088-AFS-1.patch
>
> Original Estimate: 2h
> Time Spent: 2h
> Remaining Estimate: 0h
>
> Was testing Fuseki 2, before reviewing the docs, and decided to experiment a
> few things. Looks like if you use just spaces in the dataset name, you are
> allowed to create a new one, and it gets the name "/". Which is fine.
> But if you try that again with another random number of spaces, it inserts
> another dataset with the same name.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)