Giter Club home page Giter Club logo

Comments (6)

berrnd avatar berrnd commented on June 19, 2024

Please create a private demo instance if you want to provide a reproducible example, the public instances are used by hundreds of people daily and get therefore also reseted multiple times a day - it's impossible to share scenarios there persistently.

from grocy.

berrnd avatar berrnd commented on June 19, 2024

now behaves differently than before

Would be cool if you could specify what "before" refers to exactly.

 

the grey "# products are overdue" header now behaves differently than before. Seemingly it counts expired products (which is logical) plus products due today

Of course this makes no sense and any intended change is, as always, documented on the changelog. Is reproducible, will be fixed for the next release.

from grocy.

Janovlk avatar Janovlk commented on June 19, 2024

Hello,

okay, I created it in a Private Demo: https://test-42cvxut103tkp0ra9zwp9m.demo-prerelease.grocy.info/stockoverview
It behaves the same as well as my 4.0.3 production version on my server. In version 4.0.2 and lower it didn't behave like this, more logical and it was consistent with color coding of products in Product Overview page.

image

from grocy.

berrnd avatar berrnd commented on June 19, 2024

In version 4.0.2 and lower it didn't behave like this

Can't be true. It's caused by using PHP 8.1 or 8.2, which is a requirement and only supported since Grocy v4.0.0 - means this problem first occurred in Grocy v4.0.0, not v4.0.2.

from grocy.

Janovlk avatar Janovlk commented on June 19, 2024

Today I switched from a server with v4.0.2 to a new one with v4.0.3, migrated database and config and when I reregistered the Android app to a new server (I changed a subdomain name) I immediately noticed change in "products are overdue" number.

from grocy.

berrnd avatar berrnd commented on June 19, 2024

Then you have simply not noticed it before. Recreate the same example on v4.0.2 and notice that the problem also already exists there. It's about how data types are handled when retrieving data from the database, which has changed since PHP 8.1. There was no change between v4.0.2 and v.4.0.3 in that area.

But whatever, let's simply fix this instead of getting lost in philosophizing where this was introduced exactly.

from grocy.

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.