mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM: MOB-1340 "No period provider for period type" on Folder creation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -126,6 +126,11 @@ public class Period implements Serializable
|
||||
*/
|
||||
public Date getNextDate(Date date)
|
||||
{
|
||||
if (periodType == null || periodType.length() == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
PeriodProvider provider = getProvider(periodType);
|
||||
return provider.getNextDate(date, expression != null ? expression : provider.getDefaultExpression());
|
||||
}
|
||||
|
Reference in New Issue
Block a user