<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
As I have done many tests on my test archive, I tried to create the
"multipart" field on a fresh archive.<br>
I get the same Apache error when I load the workflow page containing
the field.<br>
<br>
I wonder if this field type is fully supported.<br>
Some ideas ?<br>
<br>
Thanks<br>
GF<br>
<br>
<br>
<div class="moz-cite-prefix">Le 11/06/2014 16:00, Gilles Fournié a
écrit :<br>
</div>
<blockquote
cite="mid:EMEW3|f6b2da56f9b0d5b4ac5ef4ad34e41c87q5AF0j14eprints-tech-bounces|ecs.soton.ac.uk|539860E4.5020507@cirad.fr"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<link href="chrome://translator/skin/floatingPanel.css"
type="text/css" rel="stylesheet">
Hi,<br>
<br>
I have tried to add a multipart field to our repository (3.3.12).<br>
<br>
I modified eprint_fields.pl et ran epadmin update.<br>
(an "eprint_test_multi" table has been created in the database)<br>
<br>
The field declaration :<br>
<blockquote><tt>{</tt><tt><br>
</tt><tt> name => 'test_multi',</tt><tt><br>
</tt><tt> type => 'multipart',</tt><tt><br>
</tt><tt> multiple => 1,</tt><tt><br>
</tt><tt> fields => [</tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> sub_name => 'motcle',</tt><tt><br>
</tt><tt> type => 'text',</tt><tt><br>
</tt><tt> allow_null => 0,</tt><tt><br>
</tt><tt> },</tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> sub_name => 'id',</tt><tt><br>
</tt><tt> type => 'int',</tt><tt><br>
</tt><tt> allow_null => 0,</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> ],</tt><tt><br>
</tt><tt> input_boxes => 3,</tt><tt><br>
</tt><tt>},</tt><tt><br>
</tt></blockquote>
<br>
But when I try to add the field in the workflow, I get an Apache
internal error.<br>
The log contains :<br>
<blockquote><tt>[Wed Jun 11 15:52:23 2014] [error]
XML::LibXML::Node::appendChild() -- nNode is not a blessed SV
reference at
/opt/www/eprints-3.3.12/perl_lib/EPrints/MetaField.pm line
1268.\n</tt><br>
</blockquote>
and my addition to ,the workflow is a simple :<br>
<blockquote><tt><component><field ref="test_multi"
/></component></tt><br>
</blockquote>
Does anybody have an idea of what causes the error ?<br>
<br>
(I could have used a compound field but I thought that multipart
was better as it only creates one table for all the subfields)<br>
<br>
Thanks<br>
Gilles<br>
<br>
<br>
<br>
<br>
<br>
<div style="bottom: auto; left: 279px; right: auto; top: 344px;
display: none;" class="translator-theme-default"
id="translator-floating-panel"> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
</body>
</html>