Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

CPS should not allow trailing white spaces on entity codes #118

Closed
takavarasha opened this issue Apr 4, 2014 · 1 comment
Closed

CPS should not allow trailing white spaces on entity codes #118

takavarasha opened this issue Apr 4, 2014 · 1 comment

Comments

@takavarasha
Copy link

Currently, CPS allows trailing white spaces to per stored on entity codes. Assuming codes are meant to be unique, allowing trailing white spaces gives rise to the possibility of duplicate entities being created. Please see the two ZWE on the Curated Data/Entities page which differ in that the other has a trailing space.

@cjhendrix cjhendrix modified the milestones: Warp Coil 11, Warp Coil Backlog Apr 7, 2014
@seustachi seustachi self-assigned this Apr 9, 2014
@seustachi
Copy link
Contributor

There was indeed two ZWE entities, but I could not reproduce the bug. I added some unit tests to make sure this cannot happen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants