Skip to content

Conversation

@saschaszott
Copy link

Problem Description

This PR fixes a bug which is caused by a missing dependency in CorrectionTypeServiceImpl. We see this error on application startup:

2025-02-26 11:47:17 Field correctionTypes in org.dspace.correctiontype.service.impl.CorrectionTypeServiceImpl required a bean of type 'java.util.List' that could not be found.
2025-02-26 11:47:17 
2025-02-26 11:47:17 The injection point has the following annotations:
2025-02-26 11:47:17     - @org.springframework.beans.factory.annotation.Autowired(required=true)
2025-02-26 11:47:17 
2025-02-26 11:47:17 
2025-02-26 11:47:17 Action:
2025-02-26 11:47:17 
2025-02-26 11:47:17 Consider defining a bean of type 'java.util.List' in your configuration.
2025-02-26 11:47:17 

The required dependency should be transformed to an optional dependency since core-services.xml does not contain a correctionTypes list.

@saschaszott
Copy link
Author

@jor4science, this is production-critical. The changes should be merged into DSC 2024.02.01.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant