#901: Not possible to change the definition of a collection
----------------------------+-----------------
Reporter: skaplun | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: WebSearch | Version:
Keywords: collection URL |
----------------------------+-----------------
In Invenio websearch admin interface, it looks like it is possible to
change the ''collection definition'' (i.e. the URL part after /collection)
by altering the English translation of the collection.
This at least is what one would assume by simply accessing the mentioned
admin interface (see attached picture).
This is actually not true. Altering the ''English translation'', simply
updates the English name of the collection (i.e. its ''title'') not its
''URL'' part.
Either there is a bug, or the admin interface should be clarified.
Possibly a new field to actually alter the collection definition is
needed.
Until that the current workaround is to use '''dbexec''' as in:
{{{
$ echo "update collection set name='NEW NAME' where name='OLD NAME';" |
/opt/invenio/bin/dbexec
}}}
--
Ticket URL: <http://invenio-software.org/ticket/901>
Invenio <http://invenio-software.org>