redmine issue #5873