asqatasun meter is breaking, if asqatasun.conf is not updated
Observed behaviour
if we update an existing installation of Asqtasun with a build of develop branch, it is necessary to update the existing asqatasun.conf file (to add displayGradeAsResult=true
). Otherwise, the representation of the asqatasun counter does not work correctly.
Steps to reproduce the behaviour
- comment line 115 of asqatasun.conf
mvn clean install
Expected behaviour
Set grade as default render view without a updating of asqatasun.conf
.
Same result for "displayGradeAsResult=true" or "# displayGradeAsResult=true"
Proposal
in asqatasun.conf
# displayGradeAsResult=true
in jsp replace following code:
<c:choose>
<c:when test="${configProperties['displayGradeAsResult'] == 'true'}"> (...) (1) </c:when>
<c:otherwise> (...) (2) </c:otherwise>
</c:choose>
by
<c:choose>
<c:when test="${configProperties['displayGradeAsResult'] == 'false'}">(...) (2)</c:when>
<c:otherwise> (...) (1)</c:otherwise>
</c:choose>