Hi Tibor and Tony,
On Jun 17, 2008, at 6:18 AM, Tibor Simko wrote:
On Mon, 16 Jun 2008, Devin Bougie wrote:
I'm having trouble using categories in v0.99.0. If I clone DEMOART,
for example, the categories no longer seem to function properly. The
original DEMOART document type works properly, but if I submit an
article using the cloned DEMOART document type, the new record
becomes
"DEMO--2008-006" instead of "DEMO-ARTICLE-2008-006".
(again I'm forwarding to the list Tony's reply)
The category (ARTICLE, PREPRINT or REPORT as selected on the first
page of the submission) is not getting through to the function that
generates the report number i.e. Report_Number_Generation.py
Please check that your parameters for Report_Number_Generation.py are
Parameter Name Parameter Value
autorngen Y
counterpath lastid_DEMOART_<PA>categ</PA>_<PA>yy</PA>
edsrn DEMOART_RN
rnformat DEMO-<PA>categ</PA>-<PA>yy</PA>
rnin comboDEMOART
yeargen AUTO
Yes, these are the parameters (which are the same as in the original
DEMOART document type).
The category for the submission is the parameter rnin which should
have the value comboDEMOART. comboDEMOART is defined as soon as you
select the category
Please let me know what else I can check.
Thanks,
Devin