Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Error changing the order of actions in a Quick Action

Aperta
#13,308 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@hamza221 ci sta già lavorando.

Dal 21/7/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

1. to develop bug
Steps to reproduce
  • create a new Quick Action
  • add an action of type "Move Thread" selecting any folder as destination
  • save the Quick Action
  • go to edit the previously created Quick Action
  • add an action of type "Tag" selecting any tag
  • save again the Quick Action
Expected behavior

The Quick Action is saved, and configured to perform the addition of a tag and the move to a different folder.

Actual behavior

At the second save, nothing happens in frontend.

Server returns the following payload:

{
    "status": "error",
    "message": "Cant perform actions after moveThread",
    "data": {
        "debug": true,
        "type": "OCA\\Mail\\Exception\\ServiceException",
        "message": "Cant perform actions after moveThread",
        "code": 0,
        "trace": [
            {
                "file": "\/path\/of\/nextcloud\/apps\/mail\/lib\/Service\/QuickActionsService.php",
                "line": 102,
                "function": "validateActionStep",
                "class": "OCA\\Mail\\Service\\QuickActionsService"
            },
            {
                "file": "\/path\/of\/nextcloud\/apps\/mail\/lib\/Controller\/ActionStepController.php",
                "line": 57,
                "function": "createActionStep",
                "class": "OCA\\Mail\\Service\\QuickActionsService"
            },
            {
                "file": "\/path\/of\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
                "line": 165,
                "function": "create",
                "class": "OCA\\Mail\\Controller\\ActionStepController"
            },
            {
                "file": "\/path\/of\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php",
                "line": 78,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher"
            },
            {
                "file": "\/path\/of\/nextcloud\/lib\/private\/AppFramework\/App.php",
                "line": 137,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher"
            },
            {
                "file": "\/path\/of\/nextcloud\/lib\/private\/Route\/Router.php",
                "line": 324,
                "function": "main",
                "class": "OC\\AppFramework\\App"
            },
            {
                "file": "\/path\/of\/nextcloud\/lib\/base.php",
                "line": 1159,
                "function": "match",
                "class": "OC\\Route\\Router"
            },
            {
                "file": "\/path\/of\/nextcloud\/index.php",
                "line": 25,
                "function": "handleRequest",
                "class": "OC"
            }
        ],
        "previous": null
    },
    "code": 0
}

Reloading the web page and opening again the edited Quick Action, actions list is empty: previously configured actions are lost.

Mail app version

5.10

Nextcloud version

No response

Mailserver or service

No response

Operating system

No response

PHP engine version

No response

Nextcloud memory caching

No response

Web server

No response

Database

No response

Additional info

My guess is that Quick Action contents should be saved in a single step, as calling "/apps/mail/api/action-step" individually for all single actions do not provide context and do not permits proper server-side validation.

Lingua principale
JavaScript
Stelle
1k
Fork
348
Merge medio
1g 19h
PR unite (30g)
90

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/mail

Tutte le issue di nextcloud/mail

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.