Redmine issue #980