Skip to content

[Bug]: X/Y/Z plot seed field should truncate last comma #14739

@spotlesscoder

Description

@spotlesscoder

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

Received error

ValueError: invalid literal for int() with base 10: ''

Steps to reproduce the problem

Made a x/y/z plot with seed as first field
Entered -1,-1,-1,-1, into the field (note the trailing comma)

What should have happened?

Trailing comma with no value after it is ignored (but stays in the input field so I can add a value at any time later

What browsers do you use to access the UI ?

No response

Sysinfo

Version 1.7.0
rest should not be relevant

Console logs

should not be relevant

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions