Hi,
 
I want to make use of the <visibility> attribute in the input-forms.xml
but we're running v1.3.2 in production (which doesn't include it out of
the box), so I've upgraded my dev system to 1.4.1 to try it out. 
 
However, whenever I make a "onebox" or "textarea" element only visible
in workflow (using "<visibility>workflow</visibility>") it works to a
point in that the element is hidden on the input form, however, when I
hit the "Next >" button to move on to the next page (away from the page
containing the hidden element), I get an Internal Server Error . . . 
 
The workflow visibility setting works just fine for "name", "twobox",
"date", "dropdown", and "qualdrop_value" elements (elements are hidden
during input and only visible in workflow forms), but as soon as I try
to 'hide' a "onebox" or "textarea", everything disappears in a puff of
blue smoke . . . .
 
I'm trying this out using the default input-forms.xml in v1.4.1 to make
sure it isn't anything else fancy I've previously added to the form
setup.
 
Is it just me, or has anyone else seen this? Are others successfully
hiding "onebox" or "textarea" fields on their input forms?
 
Here is the snippet from the logs just in case this helps . . . .
 
Exception:
java.lang.NullPointerException
 at
org.dspace.app.webui.servlet.SubmitServlet.readText(SubmitServlet.java:2
429)
 at
org.dspace.app.webui.servlet.SubmitServlet.processEditMetadata(SubmitSer
vlet.java:890)
 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)
 
Any insights etc welcome.
 
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/ <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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to