Tim's workaround also worked for me. - Gavin
On Saturday, September 25, 2021 at 4:04:51 AM UTC-7 NTech wrote: > this worked for me too with user agreements. > > On Wednesday, 4 November 2020 at 03:49:33 UTC+5:30 Tim Donohue wrote: > >> Hi Sheril, >> >> It almost sounds like your DSpace 7 doesn't have the new >> "dspace.agreements.end-user" and "dspace.agreements.cookies" metadata >> fields that are required for that feature to work properly. >> >> They should have been added automatically by our DatabaseRegistryUpdater >> when you installed or updated to DSpace 7 beta 4, but it sounds like that >> didn't work for some reason. >> >> You can manually add these fields to the registry by running: >> >> [dspace]/bin/dspace registry-loader -metadata >> [dspace]/config/registries/dspace-types.xml >> >> I suspect that's the issue, but if it doesn't work, we may need you to >> send more information from your logs to this list/thread. >> >> Tim >> ------------------------------ >> *From:* [email protected] <[email protected]> on behalf >> of Sheril Jose <[email protected]> >> *Sent:* Monday, November 2, 2020 4:32 PM >> *To:* DSpace Technical Support <[email protected]> >> *Subject:* [dspace-tech] Re: Error while running DSpace 7 >> >> More specifically, I used code from - DSpace 7.0 Beta 4 Release >> (Frontend / UI Only) and DSpace 7.0 Beta 4.1 Release (Backend / REST >> API Only). >> >> On Tuesday, November 3, 2020 at 2:39:28 AM UTC+11 Sheril Jose wrote: >> >> I followed the installation steps as mentioned found on: >> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace >> >> Currently, I'm stuck on the 'End User Agreement' page with an error when >> attempting to save. I have already tried a few thing to troubleshoot and >> the error thrown is: >> >> org.dspace.app.rest.exception.DSpaceBadRequestException: There was no >> metadataField found in path of operation\n\tat >> org.dspace.app.rest.repository.patch.operation.DSpaceObjectMetadataPatchUtils.checkMetadataFieldNotNull(DSpaceObjectMetadataPatchUtils.java:157)\n\tat >> >> org.dspace.app.rest.repository.patch.operation.DSpaceObjectMetadataAddOperation.add(DSpaceObjectMetadataAddOperation.java:63)\n\tat >> >> org.dspace.app.rest.repository.patch.operation.DSpaceObjectMetadataAddOperation.perform(DSpaceObjectMetadataAddOperation.java:47)\n\tat >> >> org.dspace.app.rest.repository.patch.operation.DSpaceObjectMetadataAddOperation.perform(DSpaceObjectMetadataAddOperation.java:34)\n\tat >> >> org.dspace.app.rest.repository.patch.ResourcePatch.performPatchOperation(ResourcePatch.java:58)\n\tat >> >> org.dspace.app.rest.repository.patch.ResourcePatch.patch(ResourcePatch.java:42)\n\tat >> >> org.dspace.app.rest.repository.DSpaceObjectRestRepository.patchDSpaceObject(DSpaceObjectRestRepository.java:64)\n\tat >> >> org.dspace.app.rest.repository.EPersonRestRepository.patch(EPersonRestRepository.java:170)\n\tat >> >> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method)\n\tat >> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat >> >> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat >> >> java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat >> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)\n\tat >> >> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)\n\tat >> >> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752)\n\tat >> >> >> A more extensive error report is attached as a textfile and any feedback >> is much appreciated. >> >> Cheers, >> Sheril >> >> -- >> All messages to this mailing list should adhere to the DuraSpace Code of >> Conduct: https://duraspace.org/about/policies/code-of-conduct/ >> --- >> 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/1b1616b2-6fb7-43e3-8f25-418c770d4190n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/dspace-tech/1b1616b2-6fb7-43e3-8f25-418c770d4190n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/ae080ae6-408f-41f5-aae7-a72a46354445n%40googlegroups.com.
