#246: WebSubmit: add report number validation to Get_Report_Number function
--------------------------+-------------------------------------------------
Reporter: jcaffaro | Owner: lmarian
Type: enhancement | Status: in_merge
Priority: major | Milestone: v1.0
Component: WebSubmit | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Changes (by lmarian):
* status: assigned => in_merge
Comment:
Fixed, with some modifications:
- checking capabilities added to {{{Get_Recid.py}}} instead of
{{{Get_Report_Number.py}}}
- new parameter added ({{{record_search_pattern}}}) that can describe not
only the report number accepted format but any pattern that the search
engine could use to retrieve the accepted documents; this pattern can be
describe using regular expressions and local variables (e.g. category)
Ex: {{{ record_search_pattern = reportnumber:DEMO-<comboDEMOJRN>-* |
collection:ATLANTISTIMESNEWS }}}
--
Ticket URL: <http://invenio-software.org/ticket/246#comment:3>
Invenio <http://invenio-software.org>