Admin panel hard reset throws TypeError #3568

Open
opened 2026-08-31 19:46:26 +00:00 by phnt · 0 comments
Member

Browser and OS

Brave 1.93.138; Chromium: 151.0.7922.173

Instance URL

No response

Backend version information

BE develop

Frontend version information

FE develop @ 7e8f63c714

Browser extensions

No response

Known instance/user customizations

No response

Bug description

Pressing the hard reset button in the admin panel throws the following error popup

develop:

TypeError: Cannot read properties of undefined (reading 'then')
    at Proxy.hardReset (http://localhost:8080/src/components/settings_modal/helpers/setting.js:417:13)
    at callWithErrorHandling (http://localhost:8080/node_modules/.vite/deps/vue.runtime.esm-bundler-BaPWM87I.js?v=f3727f95:1844:17)
    at callWithAsyncErrorHandling (http://localhost:8080/node_modules/.vite/deps/vue.runtime.esm-bundler-BaPWM87I.js?v=f3727f95:1851:15)
    at HTMLSpanElement.invoker (http://localhost:8080/node_modules/.vite/deps/vue.runtime.esm-bundler-BaPWM87I.js?v=f3727f95:7583:3)

Reproduction steps

  1. Log in as admin
  2. Go to admin panel and set instance name or primary frontend config (everything else likely affected as well)
  3. Save the setting
  4. Try to hard reset the setting
  5. Above error is shown

Bug seriousness

  • How annoying it is: Probably annoying to users with DB config
  • How often does it happen: Every time
  • How many people does it affect: No idea when it broke
  • Is there a workaround for it: Delete config group and/or key via the Mix task or from AdminFE
### Browser and OS Brave 1.93.138; Chromium: 151.0.7922.173 ### Instance URL _No response_ ### Backend version information BE develop ### Frontend version information FE develop @ 7e8f63c714 ### Browser extensions _No response_ ### Known instance/user customizations _No response_ ### Bug description Pressing the hard reset button in the admin panel throws the following error popup develop: ``` TypeError: Cannot read properties of undefined (reading 'then') at Proxy.hardReset (http://localhost:8080/src/components/settings_modal/helpers/setting.js:417:13) at callWithErrorHandling (http://localhost:8080/node_modules/.vite/deps/vue.runtime.esm-bundler-BaPWM87I.js?v=f3727f95:1844:17) at callWithAsyncErrorHandling (http://localhost:8080/node_modules/.vite/deps/vue.runtime.esm-bundler-BaPWM87I.js?v=f3727f95:1851:15) at HTMLSpanElement.invoker (http://localhost:8080/node_modules/.vite/deps/vue.runtime.esm-bundler-BaPWM87I.js?v=f3727f95:7583:3) ``` ### Reproduction steps 1. Log in as admin 2. Go to admin panel and set instance name or primary frontend config (everything else likely affected as well) 3. Save the setting 4. Try to hard reset the setting 5. Above error is shown ### Bug seriousness * How annoying it is: Probably annoying to users with DB config * How often does it happen: Every time * How many people does it affect: No idea when it broke * Is there a workaround for it: Delete config group and/or key via the Mix task or from AdminFE
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma-fe#3568
No description provided.