TaskManager.findTaskById does not utilize session cache

Description

TaskManager.findTaskById currently uses DbSqlSession.selectOne instead of DbSqlSession.selectById, which causes the session cache to be ineffective for these queries ().

The attached patch fixes the issue by using selectById instead.

Environment

None

Assignee

Tijs Rademakers

Reporter

Thilo-Alexander Ginkel

Labels

None

Components

Fix versions

Affects versions

Priority

Trivial
Configure