<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi James,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">was recollect installed from the bazaar or github (<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Frecollect&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7f6aa6b050cd4089052108d6516423c8%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=uqyxkVw5TRfCeNIpIGnh%2B%2FfHd0TtO7qqe5aelZx4sK4%3D&amp;reserved=0" originalSrc="https://github.com/eprintsug/recollect" shash="Hxwcsvsalor/FNyxo/DpOMiK12LdrJtV+wcSmA0FXBCIaPsHhQvgeQb8ll9STpfNv1oaq7vjN0zfOOI+m2H8QstAZbM4Ny6vfLyB0cCAM55pcVqPsKSRst7w9jN68RYxFqpMCA6k0U7zdt0GaURwIfb3BBFHyL+hnu1D8DdOIQk=" class="OWAAutoLink" id="LPlnk78258" previewremoved="true">https://github.com/eprintsug/recollect</a>)?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Just curiousity really</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">The issue exists in both of them even though they are quite different. I've created a PR for it:&nbsp;<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2Frecollect%2Fpull%2F4&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7f6aa6b050cd4089052108d6516423c8%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=LUfHQ%2F4U8Pmlx3xvftt1pRE1SCfXy05wxJDV2DbD6Os%3D&amp;reserved=0" originalSrc="https://github.com/eprintsug/recollect/pull/4" shash="VtnzBPt/YOY6p38F9PUPwrRhVbjH6c2uvk7PsPe9MPMxmTPVbL5bvvVMcoe4/fobJCD8ZKEvivzoLqHVmPVHFaQPuRG1ERgnumitSPKC0AeQFQn5le82/JRGeC7J37gvgzQ/0sFJdzfVJR9ENjtOYU9M5jaPgTAxGCgcD4PECBY=" class="OWAAutoLink" id="LPlnk797558" previewremoved="true">https://github.com/eprintsug/recollect/pull/4</a></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Cheers,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Rory</p>
<br>
<br>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols;">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px">
<div><font face="Arial">Rory McNicholl</font></div>
<div><font face="Arial">Lead developer</font></div>
<div><font face="Arial">Digital&nbsp;Archives &amp; Research Technologies</font></div>
<div><font face="Arial">CoSector,&nbsp;University of London</font></div>
<div><font face="Arial">Senate House</font></div>
<div><font face="Arial">Malet Street</font></div>
<div><font face="Arial">London</font></div>
<div><font face="Arial">WC1E 7HU</font></div>
<div><font face="Arial"><br>
</font></div>
<div><font face="Arial">t: &#43;44 (0)20 7863 1344</font></div>
<div><font face="Arial">e: rory.mcnicholl@london.ac.uk</font></div>
<div><font face="Arial">w: http://www.ulcc.ac.uk/</font></div>
<div><font face="Arial"><br>
</font></div>
<div><font face="Arial">The University of London is an exempt charity in England and Wales.</font></div>
</div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk &lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of James Kerwin via Eprints-tech &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Sent:</b> 23 November 2018 13:28:11<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> [EP-tech] related_resources field display</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I have a problem on our data repository which uses Recollect.</div>
<div><br>
</div>
<div>On the staff view, the &quot;Related Resources&quot; field displays as something similar to:</div>
<div><br>
</div>
<div>ARRAY(0x7f7c354a5c10)<br>
</div>
<div><br>
</div>
<div>Checking the database I can see the links I submitted for this field are still in the format I expected, so the problem appears to be in the display of these items. It looks as though it's trying to print a hash/array instead of accessing the object the
 &quot;proper&quot; way.</div>
<div><br>
</div>
<div>I've taken a good look at this and got to Details.pm in:</div>
<div><br>
</div>
<div>/usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/EPrint</div>
<div><br>
</div>
<div>I can understand the code (more or less) to the point where it prints out each stages tab (Previews, Details, Actions, History, Issues) and how it appears to print the header for each section under each tab (e.g. Details ==&gt; Upload, Details,Other Defined
 Fields.</div>
<div><br>
</div>
<div>I just can't see where each subheading is then printed to screen (Creators of, Title of Divisions etc):</div>
<div><br>
</div>
<div>
<div><img alt="image.png" width="409" height="356" style="margin-right:0px" data-outlook-trace="F:1|T:1" src="cid:ii_jou1y1uy0"><br>
</div>
</div>
<div><br>
</div>
<div>Irritatingly, on the repository we have an analogous &quot;related_url&quot; field that displays correctly. If I knew where to look I could just compare and correct it. Does anybody have any ideas? There is an
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fx_recollect.pl&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7f6aa6b050cd4089052108d6516423c8%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=tFryi82IrhTd5jSYLZWhLJcS%2F%2BjGCx3bdyVNE65dMpo%3D&amp;reserved=0" originalSrc="http://x_recollect.pl" shash="M9zCay40cYsx/IdRBc/6ojl5eJJeNi/+M/KNNf2Su6f1/cYr26qX5tf4nWIWd+naFl1uzHOUkoQ+0C0IBXA0kyBPAXuBB39shgY2i6G963Qj/x+FBWMIedgnPNk4B5jn+EzAeJaj+ncXoeRnufiDobpvT0aybQzTSWwDVbrz8os=" originalsrc="http://x_recollect.pl" shash="BiMTXavPvriIu80nnWG5RCC32zmy41JuZVpMcFwm5xN2qqyU2kURRAi91MVD40Z84SkOMzNoUu5Uz/FgT&#43;s/SF1nHufOf03IwnPJW&#43;ftXvmP0qs0ie753fNSJ3xnxia2nCippaCVAH4m0GTNjUFq5Ys7qNKPTDJC4fpF8P/cV3Q=">
x_recollect.pl</a> in cfg.d that contains the following, but I don't think that's what I want:</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<br>
$c-&gt;add_dataset_field(<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &quot;eprint&quot;,<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; {<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp;name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; 'related_resources',<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp;type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; 'compound',<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp;multiple&nbsp; &nbsp; &nbsp;=&gt; 1,<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp;render_value =&gt; 'EPrints::Extras::render_url_truncate_end',<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp;fields&nbsp; &nbsp; &nbsp; &nbsp;=&gt; [<br>
<span style="white-space:pre"></span>{<br>
<span style="white-space:pre"></span>&nbsp; sub_name&nbsp; &nbsp;=&gt; 'url',<br>
<span style="white-space:pre"></span>&nbsp; type&nbsp; &nbsp; &nbsp; &nbsp;=&gt; 'url',<br>
<span style="white-space:pre"></span>&nbsp; input_cols =&gt; 40,<br>
<span style="white-space:pre"></span>},<br>
<span style="white-space:pre"></span>{<br>
<span style="white-space:pre"></span>&nbsp; sub_name&nbsp; &nbsp; &nbsp;=&gt; 'type',<br>
<span style="white-space:pre"></span>&nbsp; type&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; 'set',<br>
<span style="white-space:pre"></span>&nbsp; render_quiet =&gt; 1,<br>
<span style="white-space:pre"></span>&nbsp; options&nbsp; &nbsp; &nbsp; =&gt; [<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp; qw(<br>
<span style="white-space:pre"></span>pub<br>
<span style="white-space:pre"></span>author<br>
<span style="white-space:pre"></span>org<br>
<span style="white-space:pre"></span>)<br>
<span style="white-space:pre"></span>&nbsp; ],<br>
<span style="white-space:pre"></span>} ],<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp;input_boxes&nbsp; &nbsp;=&gt; 1,<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp;input_ordered =&gt; 0,<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; },<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; reuse =&gt; 1<br>
<span style="white-space:pre"></span>&nbsp; &nbsp; &nbsp;);</blockquote>
<div><br>
</div>
<div>Thanks,</div>
<div>James</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>