[
https://jira.duraspace.org/browse/DS-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
João Melo updated DS-1437:
--------------------------
Description:
Context
-----------
While we were testing the DAO implementation [1], we noticed that the current
tests are failing.
We had merged dspace-services into dspace-api so we were able to use dspace-api
in dspace-services implementation (core Context class).
While we were testing it, we found that the current unit tests fail on
spring/spring-dspace-addon-discovery-configuration-services.xml [2] beans
instantiation.
Problem
------------
org.dspace.discovery.configuration.DiscoveryConfiguration is expecting a list
of DiscoverySearchFilterFacet [3] but the configuration file [2] gives a list
of SidebarFacetConfiguration [4], making the unit tests to fail.
References
----------------
[1] https://github.com/lyncode/DSpace/tree/newcore
[2]
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/resources/spring/spring-dspace-addon-discovery-configuration-services.xml
[3]
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/configuration/DiscoveryConfiguration.java#L56
[4]
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/resources/spring/spring-dspace-addon-discovery-configuration-services.xml#L138
was:
Context
-----------
While we were testing the DAO implementation [1], we noticed that the current
tests are failing.
We had merged dspace-services into dspace-api so we were able to use dspace-api
in dspace-services implementation (core Context class).
While we were testing it, we found that the current unit tests fail on
spring/spring-dspace-addon-discovery-configuration-services.xml [2] beans
instantiation.
Problem
------------
org.dspace.discovery.configuration.DiscoveryConfiguration is expecting a list
of DiscoverySearchFilterFacet [3] but the configuration file [2] gives a list
of SidebarFacetConfiguration [4], making the unit tests to fail.
References
----------------
[1] https://github.com/lyncode/DSpace/tree/newcore
[2]
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/resources/spring/spring-dspace-addon-discovery-configuration-services.xml
[3]
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/configuration/DiscoveryConfiguration.java#L56
[4]
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/resources/spring/spring-dspace-addon-discovery-configuration-services.xml#L138
> Discovery Default Configuration (sidebarFacets)
> -----------------------------------------------
>
> Key: DS-1437
> URL: https://jira.duraspace.org/browse/DS-1437
> Project: DSpace
> Issue Type: Bug
> Components: Discovery
> Affects Versions: 3.0
> Reporter: João Melo
> Priority: Major
>
> Context
> -----------
> While we were testing the DAO implementation [1], we noticed that the current
> tests are failing.
> We had merged dspace-services into dspace-api so we were able to use
> dspace-api in dspace-services implementation (core Context class).
> While we were testing it, we found that the current unit tests fail on
> spring/spring-dspace-addon-discovery-configuration-services.xml [2] beans
> instantiation.
> Problem
> ------------
> org.dspace.discovery.configuration.DiscoveryConfiguration is expecting a list
> of DiscoverySearchFilterFacet [3] but the configuration file [2] gives a list
> of SidebarFacetConfiguration [4], making the unit tests to fail.
> References
> ----------------
> [1] https://github.com/lyncode/DSpace/tree/newcore
> [2]
> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/resources/spring/spring-dspace-addon-discovery-configuration-services.xml
> [3]
> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/discovery/configuration/DiscoveryConfiguration.java#L56
> [4]
> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/resources/spring/spring-dspace-addon-discovery-configuration-services.xml#L138
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel