miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.44k stars 702 forks source link

Settings > 'Default home' & 'Catergories Sorting' Null after triggering an error #2665

Closed privatmamtora closed 1 month ago

privatmamtora commented 1 month ago

Trigger an error to be displayed on the /settings page will cause the "Default home page" and the "Categories sorting" fields to reload with "null". Once this happens the user is blocked from updating any settings as they will continuously receive the "The username, theme, language and timezone fields are mandatory." error. minifux error

Steps to recreate

  1. Go to the /settings Screen
  2. Enter different passwords and click 'Update' to trigger the Passwords are not the same. error.
  3. "Default home page" and the "Categories sorting" fields are now null and the drop down has no options.

minifux error

Expected Result

On triggering a error the "Default home page" and the "Categories sorting" form fields needs to retain it's values so as to allow the user to correct the original issue.