The list in SelectCollectionStep.java does not specify in which community each collection belongs to. So for collections named "Thesis" that exist in multiple departments (Communities) the user can't choose which is the correct one.
One solution to this problem is to change the way the list is built in SelectCollectionStep.java
(package org.dspace.app.xmlui.aspect.submission.submit) by adding a loop inside the loop that gets the names / handles for each collection in order to get the names of the parent communities
so the original loop:
can be changed to:
The variables ("temp","temp2") can be changed, string variable "temp" can be used instead "temp2", and the substring methods can be removed if the names of the communities are not very big. Some steps in the loop can be skipped/merged together.
This change has been tested in 1.5.2
The same can be applied in Profile page (EditProfile.java / package org.dspace.app.xmlui.aspect.eperson) with the addition of
In this way the users can choose the collection they want to subscribe to for mail alerts