Giter Club home page Giter Club logo

Comments (4)

francoisjacquet avatar francoisjacquet commented on May 24, 2024 1

Thank you for helping make RosarioSIS better.

Fix https://gitlab.com/francoisjacquet/rosariosis/-/commit/d742e2e85a5b6d10fc81410a7838f43ca1b66330

Will come in release v11.2.4

from rosariosis.

francoisjacquet avatar francoisjacquet commented on May 24, 2024

Hello @victorjc639

Please specify RosarioSIS, MySQL and OS version, plus exact steps to reproduce the issue ("add a student" is too vague, please at least provide some screenshots before saving).

from rosariosis.

victorjc639 avatar victorjc639 commented on May 24, 2024

RosarioSIS: [11.2.3 (upgraded from 11.2.1 to try to fix issue)]
MySQL: [8.0.34-0ubuntu0.22.04.1 - (Ubuntu)]
OS: [Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy]
PHP: [8.2 (changed from 7.4 to try to fix issue)]

Screenshot of MySQL usage before adding a student:
sql-before

Screenshot while attempting to add student and click "Save" (notice the loading icon on the top right that loops forever until I restart PHP and MySQL):
test-add-student

Screenshot of MySQL usage while that process is running:
sql-after

Steps to reproduce:

  1. Click on "Students" in the menu
  2. Click on "Add Students" in the dropdown
  3. Input student first name, last name, username, and password.
  4. Click on "Save" to add student
  5. Repeat two times until issue comes up on the third time.

(EDIT) Notice: I can add two more students after I wait 24 hours after adding the first two. This might be a clue as to what is happening.

from rosariosis.

francoisjacquet avatar francoisjacquet commented on May 24, 2024

Thank you for the details.

I was able to reproduce the error with MySQL 8.1 on Docker.

This is a cache issue: https://stackoverflow.com/questions/51283195/wrong-auto-increment-value-on-select

This causes an infinite loop.

from rosariosis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.