#980: BibdocFile --set-doctype not working
--------------------+------------------------
Reporter:  adeiana  |      Owner:
    Type:  defect   |     Status:  new
Priority:  minor    |  Component:  BibDocFile
 Version:  v1.0.0   |   Keywords:
--------------------+------------------------
 When I try to set the doctype via --set-doctype
 e.g.  bibdocfile --recid 1 --set-doctype INSPIRE-PUBLIC
 The doctype is still "main".

 I am not sure how it should be handled:
 * creating a new bibdoc revision ?
 * just changing the doctype ?

 I tracked down where the handling was done.
 line 1528 and above in bibupload.py
 We check that if filename is not changed, we do not create a revision.
 So we can either still and a new condition for creating a new revision
 OR
 Above line 1528, we make it so the doctype is updated for the current
 revision

-- 
Ticket URL: <http://invenio-software.org/ticket/980>
Invenio <http://invenio-software.org>

Reply via email to