[dspace-tech] DSpace 7.x Best practice for creating custom themes?

2023-02-22 Thread darryl....@usask.ca
Any recommendations or best practices tips on creating and managing custom 
themes?

The UI customization page lists a number of methods -- edit the existing 
DSpace or custom theme, make a copy of the DSpace or custom theme, create 
an entirely new theme from scratch, or possibly "extend" the existing 
DSpace/custom theme -- but I'm wondering if anyone has practical 
experience/tips now that we're 5 major revisions into the 7.x release.  
i.e. how are you managing the inclusion of any fixes to those core 
DSpace/custom themes into your own theme as new versions of the DSpace UI 
are released?  Creating a copy of one of the existing themes seems like it 
would make the job of incorporating fixes harder.

I've been toying with the idea of creating a branch from the current 
release (from the  dspace-7.5 tag for example) and then just making changes 
in the "custom" theme directory.  When 7.6 is released, I should 
(hopefully) be able to just merge the dspace-7.6 tag into my working branch 
and easily get all the fixes that were made to the custom theme. I've yet 
to put that to the test though.

How are the rest of you dealing with themes and version upgrades?

- Darryl


*-**Darryl Friesen*
*, BSc*Programmer/Analyst

*University of Saskatchewan**ICT / University Library*

-- 
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/680cc6fb-57ae-443b-9a24-8f35168186e7n%40googlegroups.com.


[dspace-tech] Re: Bulk download of filtered items (PDF)

2023-02-22 Thread Edmund Balnaves
That's not a feature in DSpace.

It requires UI customization to achieve this to create a "cart" and 
download.





On Thursday, February 23, 2023 at 7:55:11 AM UTC+11 Benneth wrote:

> Please, in Dspace 5,  how can you download bulk PDFs from a filtered 
> search result ie after the search are displayed, you want to download all 
> the item PDFs.

-- 
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/b0eb9429-a2ae-4773-9108-e3392b303981n%40googlegroups.com.


[dspace-tech] Bulk download of filtered items (PDF)

2023-02-22 Thread Benneth
Please, in Dspace 5,  how can you download bulk PDFs from a filtered search 
result ie after the search are displayed, you want to download all the item 
PDFs.

-- 
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/0fb775e7-99f8-441a-9651-ce42a6e67d2an%40googlegroups.com.


[dspace-tech] Creating Submission Workflows

2023-02-22 Thread Cameron, Jacob
Hello,

DSpace 7.4, Tomcat 9.6, Postgres 13.

I've created 5 new workflows.  4 of the 5 work fine.  The 5th one seems to 
throw an error in the DSpace log.  It's setup the same as the other new 
workflows.

It gives me a "You have not the privilege to make a new submission." error.  
However, everything is named properly and showing up the way I would expect.  
I've verified things, checked things over, and even tried using the traditional 
input form with no changes and it still throws the error.

The error in the dspace.log is: 

2023-02-22 09:45:17,632 INFO  586a38e2-042e-4f50-b051-1c80b6adff77 
e1fe0995-92e8-4ab3-a934-ae60dea3bb91 
org.dspace.content.WorkspaceItemServiceImpl @ 
library.ireposit...@uleth.ca::create_workspace_item:workspace_item_id=8975item_id=d1cc3391-444a-4b8e-a022-3ea108640ebbcollection_id=349347e2-4e50-43f1-9bec-df5f77b1972f
2023-02-22 09:45:17,883 ERROR 586a38e2-042e-4f50-b051-1c80b6adff77 
e1fe0995-92e8-4ab3-a934-ae60dea3bb91 
org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception 
has occurred (status:500)
java.lang.ClassCastException: class org.dspace.content.Item cannot be cast to 
class org.dspace.content.Collection (org.dspace.content.Item and 
org.dspace.content.Collection are in unnamed module of loader 
org.apache.catalina.loader.ParallelWebappClassLoader @25cc7470)
at 
org.dspace.app.util.SubmissionConfigReader.getCollectionsBySubmissionConfig(SubmissionConfigReader.java:631)
 ~[dspace-api-7.4.jar:7.4]
at 
org.dspace.app.rest.converter.SubmissionDefinitionConverter.convert(SubmissionDefinitionConverter.java:84)
 ~[classes/:7.4]
at 
org.dspace.app.rest.converter.SubmissionDefinitionConverter.convert(SubmissionDefinitionConverter.java:39)
 ~[classes/:7.4]
at 
org.dspace.app.rest.converter.ConverterService.toRest(ConverterService.java:112)
 ~[classes/:7.4]
at 
org.dspace.app.rest.converter.ConverterService$$FastClassBySpringCGLIB$$41367eae.invoke()
 ~[classes/:7.4]
at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) 
~[spring-core-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.dspace.app.rest.converter.ConverterService$$EnhancerBySpringCGLIB$$1ac8ce7b.toRest()
 ~[classes/:7.4]
at 
org.dspace.app.rest.converter.AInprogressItemConverter.fillFromModel(AInprogressItemConverter.java:83)
 ~[classes/:7.4]
at 
org.dspace.app.rest.converter.WorkspaceItemConverter.convert(WorkspaceItemConverter.java:35)
 ~[classes/:7.4]
at 
org.dspace.app.rest.converter.WorkspaceItemConverter.convert(WorkspaceItemConverter.java:23)
 ~[classes/:7.4]
at 
org.dspace.app.rest.converter.ConverterService.toRest(ConverterService.java:112)
 ~[classes/:7.4]
at 
org.dspace.app.rest.converter.ConverterService$$FastClassBySpringCGLIB$$41367eae.invoke()
 ~[classes/:7.4]
at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) 
~[spring-core-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.dspace.app.rest.converter.ConverterService$$EnhancerBySpringCGLIB$$1ac8ce7b.toRest()
 ~[classes/:7.4]
at 
org.dspace.app.rest.repository.WorkspaceItemRestRepository.createAndReturn(WorkspaceItemRestRepository.java:172)
 ~[classes/:7.4]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:?]
at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 ~[?:?]
at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:799)
 ~[spring-aop-5.3.20.jar:5.3.20]
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
 

[dspace-tech] index-authority java.lang.NullPointerException after upgrade 6.x to 7.4

2023-02-22 Thread amtuan...@gmail.com
Hello all

I am having troubles rebuilding the authority index after upgrading to 7.4 
and now 7.5. When I run /dspace/bin/dspace index-authority I get an 
exception immediately. This used to work perfectly on our 6.x server. Any 
help is much appreciated. Thanks.

$ /dspace/bin/dspace index-authority

Retrieving all data

Initialize org.dspace.authority.indexer.DSpaceAuthorityIndexer

Exception: null

java.lang.NullPointerException

at 
org.dspace.authority.AuthorityValueServiceImpl.generateRaw(AuthorityValueServiceImpl.java:93)

-- 
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/a6fcd8b3-ff7b-47ec-8cae-b173266b40d3n%40googlegroups.com.


[dspace-tech] Import entity model into the database

2023-02-22 Thread Alex B
Hi, help me please with Import entity model into the database.
I run - 
/dspace/bin/dspace initialize-entities -f 
/dspace/config/entities/relationship-types.xml

but Items not formed in the system (see attachment)

Best
Alex



-- 
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/e1e4f477-b3f0-4998-ab36-3f53407be9b3n%40googlegroups.com.


[dspace-tech] System-wide Alert error

2023-02-22 Thread Alex B
Hi, help me please,
when I active or inactive System-wide Alert -  I get error - Something went 
wrong when updating the system-wide alert

Best,
Alex

 DSpace version:  7.5
  SCM revision:  ${buildNumber}
SCM branch:  UNKNOWN_BRANCH
OS:  Linux(amd64) version 5.15.0-7.86.6.1.el8uek.x86_64
  Applications:
 Discovery:  enabled.
   JRE:  Red Hat, Inc. version 17.0.6
   Ant version:  Apache Ant(TM) version 1.10.13 compiled on January 4 2023
 Maven version:  3.9.0
   DSpace home:  /dspace


-- 
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/0482f082-9351-4b80-b2f3-f9a988166a3fn%40googlegroups.com.