Code Monkey home page Code Monkey logo

Comments (2)

Compizfox avatar Compizfox commented on May 27, 2024

Thanks for the bug report.

This is weird. It's been a while since I've worked on this project (I really have to pick it up again...) but I just looked into it and it seems the problem is that (for a new check/reply attribute) an empty string is inserted for the id in a query, which should have been NULL.

The weird part is that I can't reproduce this bug; it works fine here. After some research I think this might be because of MySQL Strict Mode, which seems to be enabled by default in MySQL 5.7.

You can check if this is enabled for you by executing this query: SHOW VARIABLES LIKE 'sql_mode';.

If this is indeed the cause of the problem, a quick workaround would be to disable Strict SQL Mode. Of course I understand this is not ideal and that the application should use NULL instead of empty string in such occasions. I'll be sure to fix this when I have time to look into it.

from radiusadmin.

Compizfox avatar Compizfox commented on May 27, 2024

Closing due to inactivity.

from radiusadmin.

Related Issues (6)

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.