Activity notification settings missing

Aperta Adatta ai principianti
#5,152 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 6 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
85/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
php, xml
Ambito
backend

Direzione di ricerca

Inizia da appinfo/info.xml e controlla come sono dichiarati i filtri e i provider di Activity. L’issue segnala la mancata registrazione delle impostazioni di Activity e indica OCA\Polls\Settings\ActivitySettings e OCA\Polls\Settings\ActivityVote come classi da registrare. Il lavoro è completato quando compaiono le impostazioni Personal Notifications e Administration Activity e si possono abilitare le notifiche push dei sondaggi.

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

Descrizione

needs approval
⚠️ This issue respects the following points: ⚠️
  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • I agree to follow Nextcloud's Code of Conduct.
What went wrong, what did you observe?

No option for poll notifications appears in Personal -> Notifications, or Administration -> Activity. Without this, push notifications are off by default, so notifications are never sent even though a user subscribes to poll notifications.

I found that appinfo/info.xml declares the Activity filters and providers, but does not register the Activity settings classes under <activity><settings>.

Adding the following section makes both notification settings appear, and notifications then work as expected:

<settings>
    <setting>OCA\Polls\Settings\ActivitySettings</setting>
    <setting>OCA\Polls\Settings\ActivityVote</setting>
</settings>
What did you expect, how polls should behave instead?

Poll notification configuration appears in the Personal -> Notifications and Administration -> Activity settings. Polls push notifications are sent when they are enabled in the settings.

What steps does it need to replay this bug?
  1. Create poll
  2. Subscribe to poll notifications
  3. Vote in poll
  4. Notice no poll notifications
  5. Navigate to Settings -> Personal -> Notifications or Settings -> Administration -> Activity
  6. Notice no poll notifications configurations are present
Affected polls version

9.3.0

Installation method

Installed/updated from the appstore (Apps section of your site)

Installation type

First time installation

Can you rule out that any extension you use is involved in the issue?
  • I have checked all browser extension
Which browser did you use, when experiencing the bug?
  • Firefox
  • Chrome
  • Chromium/Chromium based (i.e. Edge)
  • Safari
  • Other/Don't know
Other browser

No response

Add your browser log here

Additional client environment information

No response

NC version

Other/Don't know

Other Nextcloud version

35.0.2

PHP engine version

PHP 8.4

Other PHP version

No response

Database engine

PostgreSQL

Database Engine version or other Database

No response

Which user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other/Don't know
Add your nextcloud server log here

Additional environment informations

No response

Configuration report

List of activated Apps

Nextcloud Signing status

Additional Information

No response

Lingua principale
JavaScript
Stelle
285
Fork
91
Merge medio
5g 16h
PR unite (30g)
52

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/polls

Tutte le issue di nextcloud/polls

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.