On Mon, 2008-06-30 at 13:54 -0500, [EMAIL PROTECTED] wrote:
> I could use some help on a DSpace mystery. We are on 1.4.2 and just
> created a custom submission input form process for DSpace for a
> particular collection, primary using the instructions from
> http://wiki.dspace.org/index.php/Alter_submission_input_forms and it
> works just fine, except for one problem. One of the fields just
> doesn't show up at all (dc.publisher).
> 
> Interestingly, this field is a really simple one, and it is a
> basically unchanged from the default Publisher field value in the
> input-forms.xml file. It looks like this in the file:
> 
> <field>
>  <dc-schema>dc</dc-schema>
>  <dc-element>publisher</dc-element>
>  <dc-qualifier></dc-qualifier>
>  <repeatable>false</repeatable>
>  <label>Publisher</label>
>  <input-type>onebox</input-type>
>  <hint>Enter the publisher of the collection.</hint>
>  <required></required>
> </field>
> 
> I've tried moving it to a different place in the submission workflow,
> but it still doesn't show up. All of the other custom fields show up
> and write the correct DC metadata for submitted item of this
> particular collection, but the Publisher field doesn't show up at all.
> 
> Has anyone seen this before? Is there a limit on the number of
> submission fields of a particular page? Any ideas?

I think I know what this is about.

There is a strange (to my mind) feature in the metadata editing system,
which is that the dc.publisher field, dc.date.issued,
dc.title.alternative, and dc.identifier.citation fields are
automatically removed from the input forms at runtime, depending on the
value of responses to the "initial questions" in the submission
process. 

If, when submitting an item, you say that an item has not been published
before, then the dc.publisher field disappears from your form, wherever
it may be.

The Java code responsible is in org.dspace.app.util.DCInputSet
http://projects.dspace.org/dspace/xref/org/dspace/app/util/DCInputSet.html#185

Hope that helps!

Con

-- 
Conal Tuohy
New Zealand Electronic Text Centre
www.nzetc.org


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to