Skip to content

Cook Log Error With Decimal Servings #4753

Description

@red4dj

Tandoor Version

2.6.13

Setup

Docker / Docker-Compose

Reverse Proxy

No reverse proxy

Other

No response

Bug description

Adding a comment/activity of having made a recipe with a decimal of a serving causes "must be valid integer" error.
UI shows support for decimal in both cook log menu and below recipe, but server side has error. Servings in these comments should support decimals like other areas.

Relevant logs

Error while updating - Bad Request (400)
URL: http://#.#.#.#/api/cook-log/3/ Errors: - servings: A valid integer is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions