DivisionByZeroError : Division by zero dans Drupal\self_evaluation\Plugin\self_evaluation\NoteType\Base5->calculate()

Created on 10 March 2025, 28 days ago

Problem/Motivation

We can have (more easily now that score for non applicable question are removed from the total score) a total for a theme which is zero.

And so we've got a fatal error :

DivisionByZeroError : Division by zero dans Drupal\self_evaluation\Plugin\self_evaluation\NoteType\Base5->calculate() 

Let's handle these use cases.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France flocondetoile Lyon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024