text: ~
security: ~
fixes:
+ - Repository mailing lists could not be reset from the Edit Repository page (issue-399)
- Ensure the Lucene ticket index is updated on repository deletion.
changes:
- Option to allow LDAP users to directly authenticate without performing LDAP searches
\r
// set author metric exclusions\r
String ax = metricAuthorExclusions.getObject();\r
- if (!StringUtils.isEmpty(ax)) {\r
+ if (StringUtils.isEmpty(ax)) {\r
+ repositoryModel.metricAuthorExclusions = new ArrayList<String>();\r
+ } else {\r
Set<String> list = new HashSet<String>();\r
for (String exclusion : StringUtils.getStringsFromValue(ax, " ")) {\r
if (StringUtils.isEmpty(exclusion)) {\r
\r
// set mailing lists\r
String ml = mailingLists.getObject();\r
- if (!StringUtils.isEmpty(ml)) {\r
+ if (StringUtils.isEmpty(ml)) {\r
+ repositoryModel.mailingLists = new ArrayList<String>();\r
+ } else {\r
Set<String> list = new HashSet<String>();\r
for (String address : ml.split("(,|\\s)")) {\r
if (StringUtils.isEmpty(address)) {\r