Skip to content

Wrong default number of project builds if BOM is empty #1038

@mkne

Description

@mkne

Describe the bug
When I open the Build-Tab of a Project with an empty BOM I get the "green" sign "Build possible" with the message "You have enough parts on stock, to build 9223372036854775807 pieces of this project.

Expected behavior
It should be checked if the BOM is empty or the Number of projects to be build is empty. Maybe initializing the value of the field Number of Projects to be build with 1 could also help.

Screenshots

Image

Server Side

  • Part-DB Version: 2.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions