Fix issue in TemplateController and ProfileDAO due to new predefined users
Need to open transaction in ProfileDAO.findByProfileName() because of this
method is called via TemplateController (which is accessing the new predefined
users).
The new predefined users with a profile are using the method
PredefinedProfiles.getFromDB() that is calling the ProfileDAO.
FEA: ItEr76S30PermissionsEnhancements
This commit is contained in:
parent
bdf731d473
commit
699e8d5d85
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ public class ProfileDAO extends GenericDAOHibernate<Profile, Long> implements
|
|||
}
|
||||
|
||||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public Profile findByProfileName(String profileName)
|
||||
throws InstanceNotFoundException{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue