[EP-tech] Error on New Metadata Field
David R Newman
drn at ecs.soton.ac.uk
Thu Sep 9 16:49:05 BST 2021
Hi Izwan,
I suspect the issue is that the parent subject with the ID 'journal'
does not exist. Click on the Admin link in your menu and in then
"Config. Tools" tab on the Admin page click on the "Edit subject"
button. You will need to create a 'journal' subject. You can do this
by adding the word 'journal' in the input box next to "Subject ID
String" and then clicking on the "Create" button. You will then need
assign a label for this subject (e.g. Journals) and set whether it
should be depositable (probably not, as this is a parent subject). You
will then need to add subjects under this parent 'journal' subject for
all the journals you want a user to be able to choose from for this
'journal_in_university' field. I would try to use a consistent format
for these journal subject IDs like jrnl_nature for the Nature journal.
Regards
David Newman
On 09/09/2021 16:30, MOHD.IZWAN SALIM via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Dear all, I added a new field from Manage Metadata Fields - Eprints
> page. with type subjects. After i added the field in workflow, the
> system show Internal Server Error with error log
>
> [Thu Sep 09 15:22:46.543546 2021] [:error] [pid 109882:tid
> 139759477307136] Can't use an undefined value as an ARRAY reference at
> /usr/share/eprints/perl_lib/EPrints/MetaField/Subject.pm line 128.\n
>
> The zz_webcfg_eprint_fields.pl
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fzz_webcfg_eprint_fields.pl%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6127a95e77414726448508d973a95b00%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637667993469481066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UeBO7rZ06oDg%2BcS2gn%2F48vXJK0f9qVxdxDF41QxNxs8%3D&reserved=0>
> setting is
> 'allow_null' => '1',
> 'export_as_xml' => '0',
> 'input_boxes' => 3,
> 'input_cols' => 60,
> 'input_ordered' => 0,
> 'input_rows' => 10,
> 'input_style' => 0,
> 'maxlength' => 255,
> 'multiple' => '0',
> 'name' => 'journal_in_university',
> 'provenance' => 'user',
> 'required' => '1',
> 'sql_index' => '1',
> 'top' => 'journal',
> 'type' => 'subject',
> 'volatile' => '0'
>
> The new field existed in the database. Did i miss to run something here?
>
> Regards
>
> *Izwan*
> UiTM Digital Library
>
> *PENAFIAN: *E-mel ini dan apa-apa fail yang dihantar bersama-samanya
> ("Mesej") adalah dihasratkan hanya untuk kegunaan penerima yang
> dinyatakan di atas dan mungkin mengandungi maklumat yang tidak umum,
> bermilik, istimewa, sulit dan dikecualikan dari penzahiran di bawah
> undang-undang yang terpakai termasuklah Akta Rahsia Rasmi 1972. BACA
> SELANJUTNYA...
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6127a95e77414726448508d973a95b00%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637667993469481066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=O6pu%2FTapzVqHPd%2Fuw4tn%2BWAwyQZorsyEbx49tLc9Z8Q%3D&reserved=0>
>
> ------------------------------------------------------------------------
> *DISCLAIMER :*/This e-mail and any files transmitted with it
> ("Message") is intended only for the use of the recipient(s) named
> above and may contain information that is non-public, proprietary,
> privileged, confidential and exempt from disclosure under
> applicable law including the Official Secrets Act 1972. /READ MORE...
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%2Fcomponent%2Fcontent%2Farticle%3Fid%3D2%26Itemid%3D103&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6127a95e77414726448508d973a95b00%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637667993469481066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=O6pu%2FTapzVqHPd%2Fuw4tn%2BWAwyQZorsyEbx49tLc9Z8Q%3D&reserved=0>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6127a95e77414726448508d973a95b00%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637667993469481066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0zX2W%2FHUeCi452AQUnjI8HOnneMkgy%2FEAjA5705Pokk%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6127a95e77414726448508d973a95b00%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637667993469481066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZpyfKUEfDeEmMcoxbLiVhRjblF%2B9z6wQTRwjYe%2FpTZE%3D&reserved=0
--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6127a95e77414726448508d973a95b00%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637667993469481066%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pDU78SDajS2bLn5H6mZogue4uHAKaYpW%2FFcY3l%2F%2Fia0%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210909/d8226929/attachment-0001.html
More information about the Eprints-tech
mailing list