[GH-ISSUE #3169] Unable to delete an alias from new admin #1788

Closed
opened 2026-02-27 11:19:07 +03:00 by kerem · 0 comments
Owner

Originally created by @florealcab on GitHub (Jan 20, 2024).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3169

Impacted versions

  • OS Type: Debian
  • OS Version: 12 (bookworm)
  • Database Type: MySQL
  • Database version: mariadb 10.11.4
  • Modoboa: 2.2.4
  • installer used: Yes/No ? yes
  • Webserver: Apache
  • Browser: chromium 120.0.6099.216

Steps to reproduce

Go to identities page, click on three dots menu and click delete for an alias, not an account

Current behavior

Nothing happen (no delete, no confirmation dialog). If I open the console of my browser, this error is shown when I click on delete:

TypeError: s.split is not a function
    at Object.getTranslation (vue-gettext.js:353:76)
    at Object.gettext (vue-gettext.js:433:24)
    at o.deleteAlias (IdentityList.vue:119:1)
    at click (MenuItems.vue:1:320)
    at Ue (vue.runtime.esm.js:2987:30)
    at o.n (vue.runtime.esm.js:1785:20)
    at Ue (vue.runtime.esm.js:2987:30)
    at t.$emit (vue.runtime.esm.js:3685:17)
    at o.click (VListItem.ts:126:12)
    at Ue (vue.runtime.esm.js:2987:30)

This does not happen if I click to delete an account (I have the confirmation dialog in that case, I don't try to confirm the dialog so I can't confirm if delete work in that case).

Expected behavior

I should have the same confirmation dialog than for the account and I should be able to delete the alias.

Note: this work well on legacy admin

Originally created by @florealcab on GitHub (Jan 20, 2024). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3169 # Impacted versions * OS Type: Debian * OS Version: 12 (bookworm) * Database Type: MySQL * Database version: mariadb 10.11.4 * Modoboa: 2.2.4 * installer used: Yes/No ? yes * Webserver: Apache * Browser: chromium 120.0.6099.216 # Steps to reproduce Go to identities page, click on three dots menu and click delete for an *alias*, not an account # Current behavior <!-- Explain the behavior you're seeing that you think is a bug, and explain how you think things should behave instead. --> Nothing happen (no delete, no confirmation dialog). If I open the console of my browser, this error is shown when I click on delete: ``` TypeError: s.split is not a function at Object.getTranslation (vue-gettext.js:353:76) at Object.gettext (vue-gettext.js:433:24) at o.deleteAlias (IdentityList.vue:119:1) at click (MenuItems.vue:1:320) at Ue (vue.runtime.esm.js:2987:30) at o.n (vue.runtime.esm.js:1785:20) at Ue (vue.runtime.esm.js:2987:30) at t.$emit (vue.runtime.esm.js:3685:17) at o.click (VListItem.ts:126:12) at Ue (vue.runtime.esm.js:2987:30) ``` This does not happen if I click to delete an account (I have the confirmation dialog in that case, I don't try to confirm the dialog so I can't confirm if delete work in that case). # Expected behavior I should have the same confirmation dialog than for the account and I should be able to delete the alias. Note: this work well on legacy admin
kerem 2026-02-27 11:19:07 +03:00
  • closed this issue
  • added the
    bug
    label
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
starred/modoboa-modoboa#1788
No description provided.