https://bugs.kde.org/show_bug.cgi?id=465661
Bug ID: 465661 Summary: Gnumch primes level 8 doesnt accept "23" as a valid prime number and gives error message Classification: Applications Product: gcompris Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jaz...@gmail.com Reporter: readalongtolearnengl...@gmail.com Target Milestone: --- SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Launch Gnumch primes 2. Set difficulty level to 8 3. Eat a number "23" OBSERVED RESULT Error Message "You ate a wrong number. 23 is divisible by undefined and undefined. Press "Reutrn" or click on me to continue EXPECTED RESULT 23 should be able to be eaten without error as its a prime number. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 20.04 v3.1 downloaded as .sh (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Fix should be able to be made in gnumch-equality.js / Line 323 by adding 23 to array and incrementing count for for loop Line 324 as it only checks for primes up to 19. -- You are receiving this mail because: You are watching all bug changes.