Thanks Richard,

> - Add 'visibility' element to input-forms.xml
>    SF Patch #1368160
> 
> That's the patch number you need, although I have a feeling that 
> Richard Rodgers might have made some changes to the final
implementation 
> - shouldn't make any significant difference, though.

I've been trying to get this working this morning, but I'm not having
much luck :-( 

I made the required changes to 'DCInput.java' and 'edit-metadata.jsp',
but as soon as I try adding a <visibility>workflow</visibility> element
to any field in my 'input-forms.xml', I'm getting an Internal Server
Error. The error occurs when I try to submit an input form page that
contains a hidden (i.e. workflow only) element - if there are no hidden
elements, submission works fine:

---------------------------------------------------------

An internal server error occurred on http://dspace3.stir.ac.uk/dspace:

Date:       1/29/07 11:39 AM
Session ID: 73B4DB50406CBDCF7600DB7FC4E040F1

-- URL Was: http://dspace3.stir.ac.uk/dspace/submit
-- Method: POST
-- Parameters were:
-- title: "Testing item visibility"
-- type: "Article"
-- submit_next: "Next >"
-- creator_author_first_0: "Michael"
-- workspace_item_id: "96"
-- publisher: "Mike's Publisher"
-- date_issued_day: "17"
-- identifier_qualifier_0: "issn"
-- date_issued_year: "1967"
-- language_iso: "en"
-- date_issued_month: "4"
-- identifier_value_0: ""
-- step: "2"
-- contributor_0: ""
-- creator_author_last_0: "White"


Exception:
java.lang.NullPointerException
        at
org.dspace.app.webui.servlet.SubmitServlet.readText(SubmitServlet.java:2
421)
        at
org.dspace.app.webui.servlet.SubmitServlet.processEditMetadata(SubmitSer
vlet.java:886)
        at
org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:3
82)
        at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.
java:147)
        at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105
)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

. . . 

---------------------------------------------------------

Any thoughts/suggestions? Unfortunately upgrading isn't an option right
now :-(

Cheers,

Mike

Michael White 
eLearning Developer
Centre for eLearning Development (CeLD) 
S7, The Library 
University of Stirling 
Stirling SCOTLAND 
FK9 4LA 

Email: [EMAIL PROTECTED] 
Tel: +44 (0) 1786 466877 
Fax: +44 (0) 1786 466880 

http://www.is.stir.ac.uk/celd/


-- 
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA.  Privileged/Confidential Information may
be contained in this message.  If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.  In such case, you should destroy this
message and kindly notify the sender by reply email.  Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to