#901: Not possible to change the definition of a collection
------------------------+----------------------------
  Reporter:  skaplun    |      Owner:  simko
      Type:  defect     |     Status:  assigned
  Priority:  minor      |  Milestone:
 Component:  WebSearch  |    Version:
Resolution:             |   Keywords:  collection URL
------------------------+----------------------------
Changes (by simko):

 * owner:   => simko
 * status:  new => assigned


Comment:

 Collection definition can be altered elsewhere in the WebSearch Admin
 interface, on the "Edit Collection" page, menu "1. Modify collection
 query".

 What you are referring to is the modification of the collection
 translation, e.g. "English (def)".  Here, "def" stands for "default
 language".  This is a kind of reminder that is probably not necessary and
 that can be deleted.

 As for changing collection name via the SQL statement you mention, it was
 intentional that WebSearch Admin UI does not allow this easily, because
 collection name represents actually a unique identifier and appears in
 URLs like "/collection/Books".  So it should be hard to change it, because
 changing it means breaking persistent URLs and stuff.

 (You can think of collection.name being kind of persistent identifier of
 the collection, and collectionname.* as translations of the collection
 name in various languages.  This technique is also used for field names,
 index names, etc.)

 I guess I'd simply delete "(def)" after language name in the WebSearch
 Admin UI to avoid confusion.

-- 
Ticket URL: <http://invenio-software.org/ticket/901#comment:1>
Invenio <http://invenio-software.org>

Reply via email to