Summary: | Gnumch primes level 8 doesnt accept "23" as a valid prime number and gives error message | ||
---|---|---|---|
Product: | [Applications] gcompris | Reporter: | ReadAlongToLearnEnglish |
Component: | general | Assignee: | Jazeix Johnny <jazeix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ReadAlongToLearnEnglish |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/education/gcompris/commit/1239336dc765641455fc0c0dda4b00ab22485abe | Version Fixed In: | |
Sentry Crash Report: |
Description
ReadAlongToLearnEnglish
2023-02-13 11:12:11 UTC
Thank you for the reports. I think the issue is https://invent.kde.org/education/gcompris/-/blob/master/src/activities/gnumch-equality/gnumch-equality.js#L323 where it misses the 23. The code should be refactor a bit as the array is written in multiple places... I'll make a fix tonight. Cheers, Johnny Git commit 75fb27c91e4829d975a2662403d0ac12abc29398 by Johnny Jazeix. Committed on 13/02/2023 at 18:08. Pushed by jjazeix into branch 'master'. gnumch-primes, 23 is a prime number, refactor the code to fix the issue. M +8 -9 src/activities/gnumch-equality/gnumch-equality.js https://invent.kde.org/education/gcompris/commit/75fb27c91e4829d975a2662403d0ac12abc29398 Git commit 1239336dc765641455fc0c0dda4b00ab22485abe by Johnny Jazeix. Committed on 13/02/2023 at 18:11. Pushed by jjazeix into branch 'KDE/3.0'. gnumch-primes, 23 is a prime number, refactor the code to fix the issue. M +8 -9 src/activities/gnumch-equality/gnumch-equality.js https://invent.kde.org/education/gcompris/commit/1239336dc765641455fc0c0dda4b00ab22485abe |