nextcloud / nextcloud/workflow_script

Script is not executed with automatically assigned keyword

Aperta
#185 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
PHP
Stelle
89
Fork
19
Merge medio
6h 38m
PR unite (30g)
3

Descrizione

Good morning,

I have assigned a keyword (watermark) to a folder and want new files copied into the folder to inherit this keyword. This works.

In a process I have defined that this keyword (watermark) gets another keyword (_watermark) when creating an image file (MIME). This works.

This keyword (_watermark) should now call a script. Here the triggering does not work. But if the keyword (_watermark) is set manually for a file, the triggering of the script works.

NC 27.0.0

  • activity: 2.19.0
  • bruteforcesettings: 2.7.0
  • calendar: 4.4.3
  • circles: 27.0.0
  • cloud_federation_api: 1.10.0
  • comments: 1.17.0
  • contacts: 5.3.2
  • contactsinteraction: 1.8.0
  • dashboard: 7.7.0
  • dav: 1.27.0
  • deck: 1.10.0
  • federatedfilesharing: 1.17.0
  • federation: 1.17.0
  • files: 1.22.0
  • files_accesscontrol: 1.17.0
  • files_antivirus: 5.2.1
  • files_automatedtagging: 1.17.0
  • files_external: 1.19.0
  • files_pdfviewer: 2.8.0
  • files_retention: 1.16.0
  • files_rightclick: 1.6.0
  • files_sharing: 1.19.0
  • files_trashbin: 1.17.0
  • files_versions: 1.20.0
  • firstrunwizard: 2.16.0
  • groupfolders: 15.0.0
  • impersonate: 1.14.0
  • keeweb: 0.6.13
  • logreader: 2.12.0
  • lookup_server_connector: 1.15.0
  • mail: 3.2.3
  • nextcloud_announcements: 1.16.0
  • notifications: 2.15.0
  • notify_push: 0.6.3
  • oauth2: 1.15.0
  • onlyoffice: 8.1.0
  • password_policy: 1.17.0
  • photos: 2.3.0
  • privacy: 1.11.0
  • provisioning_api: 1.17.0
  • quota_warning: 1.17.0
  • recommendations: 1.6.0
  • related_resources: 1.2.0
  • serverinfo: 1.17.0
  • settings: 1.9.0
  • sharebymail: 1.17.0
  • support: 1.10.0
  • survey_client: 1.15.0
  • suspicious_login: 5.0.0
  • systemtags: 1.17.0
  • tasks: 0.15.0
  • text: 3.8.0
  • theming: 2.2.0
  • twofactor_backupcodes: 1.16.0
  • twofactor_totp: 9.0.0
  • updatenotification: 1.17.0
  • user_status: 1.7.0
  • viewer: 2.1.0
  • weather_status: 1.7.0
  • workflow_script: 1.12.0
  • workflowengine: 2.9.0

I suspect that the script is not called AFTER a keyword has been automatically assigned. Thus, that would be a missing trigger event.

Thanks Thorsten

Guida per i contributori

Apri la guida per i contributori

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.

Direzione di ricerca

Non è indicato alcun file o test. Inizia tracciando il modo in cui workflow_script e workflowengine ricevono le modifiche alle parole chiave da files_automatedtagging, quindi riproduci la sequenza con una filigrana assegnata a una cartella e la parola chiave _watermark risultante. Il lavoro è completato quando lo script configurato viene eseguito dopo che la parola chiave è stata assegnata automaticamente, come avviene quando _watermark viene impostato manualmente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
php
Ambito
backend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.