Oops, I have replied on the old message

You need to load the datamodel 

./dsrun org.dspace.app.util.InitializeEntityTypesOnly -d

and create the relationships required by the correction feature

./dspace dsrun org.dspace.app.util.InitializeEntities -f correction-
relationship-types.xml

Andrea


On Tue, 2021-08-10 at 10:56 -0700, Mohammed Al-Shammaa wrote:
> Anyone got a solution to this? We tried everything and still can't
> add an item...
> 
> On Thursday, 15 July 2021 at 14:27:45 UTC+3 Mohammed Al-Shammaa
> wrote:
> > Attached is the full log of the mentioned issue.
> > 
> > On Thursday, 15 July 2021 at 12:21:38 UTC+3 [email protected]
> > wrote:
> > > I have the same error here, looking forward to a solution. I can
> > > not deposit new item to a collection with dspace cris 7. It
> > > display that There was an issue when submitting the item, please
> > > try again later.
> > > And the log file is: 
> > > 2021-07-15 16:20:12,255 INFO 
> > > org.dspace.app.rest.submit.step.DescribeStep @ Called child
> > > form:publication-dc-contributor-author
> > > 2021-07-15 16:20:12,266 INFO 
> > > org.dspace.app.rest.submit.step.DescribeStep @ Called child
> > > form:publication-dc-contributor-editor
> > > 2021-07-15 16:20:12,361 INFO 
> > > org.dspace.app.rest.submit.step.DescribeStep @ Called child
> > > form:publication_references-dc-relation-funding
> > > 2021-07-15 16:20:12,832 INFO 
> > > org.dspace.xmlworkflow.storedcomponents.XmlWorkflowItemServiceImp
> > > l @ admin@localhost::update_workflow_item:workflowitem_id=23
> > > 2021-07-15 16:20:12,841 INFO  org.dspace.content.Item @ 
> > > admin@localhost::update_item:item_id=b44c1d31-61fe-4584-a06f-
> > > 782b8af4884f
> > > 2021-07-15 16:20:12,849 INFO  org.dspace.content.Item @ 
> > > admin@localhost::update_item:item_id=b44c1d31-61fe-4584-a06f-
> > > 782b8af4884f
> > > 2021-07-15 16:20:12,881 INFO  org.dspace.content.Item @ 
> > > admin@localhost::update_item:item_id=b44c1d31-61fe-4584-a06f-
> > > 782b8af4884f
> > > 2021-07-15 16:20:12,921 INFO 
> > > org.dspace.xmlworkflow.XmlWorkflowServiceImpl @ admin@localhost::
> > > start_workflow:
> > > org.dspace.xmlworkflow.state.actions.userassignment.NoUserSelectionAction@60bdb733
> > >  workflow_item_id=23item_id=b44c1d31-61fe-4584-a06f-
> > > 782b8af4884fcollection_id=eb203706-20bc-4768-b477-612c26d9215e
> > > 2021-07-15 16:20:12,925 INFO  org.dspace.content.Item @ 
> > > admin@localhost::update_item:item_id=b44c1d31-61fe-4584-a06f-
> > > 782b8af4884f
> > > 2021-07-15 16:20:12,952 INFO 
> > > org.dspace.usage.LoggerUsageEventListener @ admin@localhost::work
> > > flow_item:item_id=b44c1d31-61fe-4584-a06f-782b8af4884f
> > > 2021-07-15 16:20:12,981 INFO 
> > > org.dspace.usage.LoggerUsageEventListener @ admin@localhost::work
> > > flow_item:item_id=b44c1d31-61fe-4584-a06f-782b8af4884f
> > > 2021-07-15 16:20:12,984 WARN 
> > > org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice
> > > @ Request is invalid or incorrect (status:400)
> > > 
> > > Thank you very much.
> > > Giang
> > > 
> > > Vào lúc 16:51:22 UTC+7 ngày Thứ Tư, 14 tháng 7, 2021, Mohammed
> > > Al-Shammaa đã viết:
> > > > Hi,
> > > > I'm getting the following error when trying to add an item to
> > > > any collection:
> > > > 
> > > > {"timestamp":"2021-07-
> > > > 14T09:38:17.979+00:00","status":400,"error":"Bad
> > > > Request","message":"Request is invalid or
> > > > incorrect","path":"/server/api/workflow/workflowitems"}
> > > > 
> > > > Can't find anything related in the logs.
> 
> -- 
> All messages to this mailing list should adhere to the Code of
> Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> --- 
> You received this message because you are subscribed to the Google
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/c8e4a670-4e1c-4e4c-a154-da7cb5633c10n%40googlegroups.com
> .
> 

--
Questo messaggio e' stato analizzato da Libraesva ESG ed e' risultato non 
infetto.
This message was scanned by Libraesva ESG and is believed to be clean.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/836e89602861ce8d87c1a56a52a2a852cd99459e.camel%404science.it.

Reply via email to