Hi Sebastien and Trevor,
Maybe I've misunderstood things. It might help to take a step back. What
is the setup you are trying to achieve in the DSpace submission steps?
In other words, what is your use case here?
As you mentioned, it's very possible the "Initial Question" step doesn't
meet your use case. If so, it might be good to clarify how you want the
submission forms to act, e.g.
Are you trying to set "dc.date.issued" to today's date at all times?
What is the reason why you'd rather your submitters not be required to
specify the "dc.date.issued" themselves (which is the default setting in
DSpace 4.x)?
It's harder for us to debug this issue without a better understanding of
what it is you are trying to achieve. It sounds like I had wrongly
assumed you just wanted the same setup as in DSpace 3 (which is why I
recommended just re-enabling "Initial Questions").
- Tim
On 6/27/2014 9:14 AM, Sebastien Ival wrote:
> Hi Tim,
>
> I have two points to make
>
> 1) I think as mentioned in
https://jira.duraspace.org/browse/DS-1655, the initial question step is a bit unclear and is now handled as part of the submission process. So having to re-enable it feels like going backward. I don't think the two should be hooked together.
>
> 2) To have the question "The item has been published or publicly distributed before" showing up, I also need to add dc.identifier.citation and dc.publisher. The field only shows up, if you answer yes to the question and you can set all of these values otherwise, it still look like the date is not being set.
>
> As when I try to take the task I get an internal server error with :
> -- Method: POST
> -- Parameters were:
> -- submit_claim: "Take Task"
> -- workflow_id: "186"
> -- step: "0"
>
> org.apache.jasper.JasperException: java.lang.NullPointerException
> ....
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.NullPointerException
> at org.dspace.content.DCDate.getMonthUTC(DCDate.java:368)
> at org.dspace.content.DCDate.displayUTCDate(DCDate.java:520)
> at org.dspace.content.DCDate.displayDate(DCDate.java:487)
> at org.dspace.app.webui.util.UIUtil.displayDate(UIUtil.java:249)
> at org.dspace.app.webui.jsptag.ItemTag.render(ItemTag.java:541)
> at org.dspace.app.webui.jsptag.ItemTag.doStartTag(ItemTag.java:289)
> at org.apache.jsp.mydspace.preview_002dtask_jsp._jspService(preview_002dtask_jsp.java:352)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
> ... 44 more
>
>
> This makes me think the dc.date.issued is still blank.
>
>
> Any ideas ?
>
> Sebastien
>
> Original Message
> From: Tim Donohue <
tdon...@duraspace.org>
> Sent: Thursday, June 26, 2014 10:03 AM
> To: Trevor Wilson;
dspac...@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Publication Date Metadata