Closed jgc234 closed 4 years ago
Thanks for your input, and I'm sorry for your inconvenience. We will consider this one in the next release.
The shortid character set has been updated to remove ‘-‘ in the latest commit. Please let us know if you need additional assistance.
I've run into an issue where package IDs starting with '-' can't be fully deleted. Elasticsearch barfs which results in the package being deleted, but still searchable in a list.
from version 2.1.0
I assume this could be fixed by specifying a more limited 64-char set for shortid (in content-package.js:125 ) with shortid.characters(....).. or maybe by escapting/quoting the package_id when building the elasticsearch query (if that's feasible).
If you bulk-delete via the CLI, you'll be left only with packages beginning with '-', so I assume a dash in the middle still works OK.