[dspace-tech] Re: DSpace 7: Hot to add a language tag to a metadata field.

2022-12-27 Thread Mohammad S. AlMutairi
On Tuesday, December 27, 2022 at 1:41:22 PM UTC+3 hipot...@gmail.com wrote:

> Why am I getting this error?
>
> Thanks.
>
You got everything right except the missing value-pairs by the name 
(common_iso_languages2). You can use the built-in common_iso_languages but 
if you must use the one you picked to customize it just create it in 
submission file as below:



N/A



English (United States)
en_US


English
en


Spanish
es


German
de



-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/96bff55b-39a8-4c56-ac0a-485da2e61964n%40googlegroups.com.


[dspace-tech] Re: DSpace 7: Hot to add a language tag to a metadata field.

2022-12-27 Thread Mohammad S. AlMutairi
Hello,

Try this. It should work for you.


dc
description

true
false
Language
dropdown
Select the language of the main content of the 
item. If the language does not appear in the
list, please select 'Other'. If the content does 
not really have a language (for example, if it
is a dataset or an image) please select 'N/A'.




It think it failed with an error ( field description.null has no language 
attribute ) because there was no value-pairs-name with the 
name common_iso_languages2. If it has to be a custom value-pairs-name that 
you need to use then just create it and customize with any language you 
want and add it to the bottom of submission file somewhere near the other  
value-pairs-names and reference it in the above field.


Hope it help you.
On Tuesday, December 27, 2022 at 1:41:22 PM UTC+3 hipot...@gmail.com wrote:

> Hello everyone,
> I'm using DSpace 7.4
>
> My goal is to add a language tag to a metadata field.
>
> According to the DSpace 7.4 manual (pdf version):
>
> [image: Screenshot_01_01.png]
>
> Therefore I have written the following code.
>
> 
> 
> dc
> description
> 
>  value-pairsname="common_iso_languages2">true
> false
> Description
> textarea
> Enter any other description or comments in this 
> box.
> 
> 
> 
>
> However, I got the following error: (...field description.null has no 
> language attribute)
>
> 2022-12-27 10:10:22,450 ERROR unknown unknown 
> org.springframework.boot.SpringApplication @ Application run failed
> java.lang.RuntimeException: Failure during ServletContext initialisation: 
> Error creating bean with name 'patchConfigurationService' defined in URL 
> [jar:file:/var/lib/tomcat9/webapps/server/WEB-INF/lib/dspace-server-webapp-7.4-classes.jar!/spring/spring-dspace-core-services.xml]:
>  
> Cannot create inner bean 
> 'org.dspace.app.rest.submit.factory.impl.BitstreamMetadataValueMovePatchOperation#1dff5a71'
>  
> of type 
> [org.dspace.app.rest.submit.factory.impl.BitstreamMetadataValueMovePatchOperation]
>  
> while setting bean property 'map' with key [TypedStringValue: value [move], 
> target type [null]] with key [TypedStringValue: value [bitstreammetadata], 
> target type [null]]; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 
> 'org.dspace.app.rest.submit.factory.impl.BitstreamMetadataValueMovePatchOperation#1dff5a71'
>  
> defined in URL 
> [jar:file:/var/lib/tomcat9/webapps/server/WEB-INF/lib/dspace-server-webapp-7.4-classes.jar!/spring/spring-dspace-core-services.xml]:
>  
> Cannot resolve reference to bean 
> 'org.dspace.app.rest.utils.BitstreamMetadataValuePathUtils' while setting 
> bean property 'bitstreamMetadataValuePathUtils'; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'org.dspace.app.rest.utils.BitstreamMetadataValuePathUtils' 
> defined in URL 
> [jar:file:/var/lib/tomcat9/webapps/server/WEB-INF/lib/dspace-server-webapp-7.4-classes.jar!/spring/spring-dspace-core-services.xml]:
>  
> Instantiation of bean failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.dspace.app.rest.utils.BitstreamMetadataValuePathUtils]: Constructor 
> threw exception; nested exception is 
> org.dspace.app.util.DCInputsReaderException: Error creating submission 
> forms: org.xml.sax.SAXException: Form traditionalpagetwo, field 
> description.null has no language attribute
>
> Why am I getting this error?
>
> Thanks.
>
>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/46f2b8dc-7942-4bea-b9fa-df056d598ad1n%40googlegroups.com.


[dspace-tech] DSpace 7.4 Windows 10

2022-12-27 Thread Projects Arunendra
I faced 2 errors:
While executing yarn install, I got 
error @typescript-eslint/experimental-utils@5.11.0: The engine "node" is 
incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || 
>=16.0.0". Got "14.15.1"

I ignored the above error and continued:
yarn run build:prod
yarn run v1.22.19
$ yarn run build:ssr
$ ng build --configuration production && ng run 
dspace-angular:server:production
error Command failed with exit code 1

Are the two related?
What is the way out?

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9b2f5be1-90ed-4fd9-aa5d-9a369ed7e0d3n%40googlegroups.com.


[dspace-tech] Dspace Data Migration with SAF

2022-12-27 Thread Rupinder Singh
I have a problem with SAF, as I am Migrating from Dspace 6.2 to DSpace 7.4. 
I exported my collections from DSpace 6.2, But as I upload the SAF items to 
my Dspace 7.4 everything goes ok, Except for the items which are part of 
multiple collections. The import process exists with an error saying that 
the Item/Handle Already Exists. 
How can I resolve this conflict? There are many items that appear is more 
than one collection in my existing Dspace 6.2.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/d49a8210-e546-4122-91fd-d741aba6d461n%40googlegroups.com.