[ 
https://issues.apache.org/jira/browse/NIFI-12025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Turcsanyi updated NIFI-12025:
-----------------------------------
    Description: 
Each bulletin message is displayed 2 times (or more). It affects 2.0 only.

NIFI-11556 did some refactor in 
{{[StandardLogRepository|https://github.com/apache/nifi/pull/7253/files#diff-f23b3e818bc60bc09049b263aa618bdee8580ae8ca97a8d1b7304cabfd773f8a]}}
 and removed {{removeObserver()}} method used by {{{}setObservationLevel(){}}}.
Now {{setObservationLevel()}} removes the observers on its own but not all data 
structures are cleared properly and it causes some duplicated observers being 
registered and duplicated bulletin messages on the UI.

!bulletin.png!

  was:
Each bulletin message is displayed 2 times (or more). It affects 2.0 only.

NIFI-11556 did some refactor in 
{{[StandardLogRepository|https://github.com/apache/nifi/pull/7253/files#diff-f23b3e818bc60bc09049b263aa618bdee8580ae8ca97a8d1b7304cabfd773f8a]}}
 and removed {{removeObserver()}} method used by {{{}getObservationLevel(){}}}.
Now {{getObservationLevel()}} removes the observers on its own but not all data 
structures are cleared properly and it causes some duplicated observers being 
registered and duplicated bulletin messages on the UI.

!bulletin.png!


> Duplicated bulletin messages
> ----------------------------
>
>                 Key: NIFI-12025
>                 URL: https://issues.apache.org/jira/browse/NIFI-12025
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Peter Turcsanyi
>            Assignee: Peter Turcsanyi
>            Priority: Major
>         Attachments: bulletin.png
>
>
> Each bulletin message is displayed 2 times (or more). It affects 2.0 only.
> NIFI-11556 did some refactor in 
> {{[StandardLogRepository|https://github.com/apache/nifi/pull/7253/files#diff-f23b3e818bc60bc09049b263aa618bdee8580ae8ca97a8d1b7304cabfd773f8a]}}
>  and removed {{removeObserver()}} method used by 
> {{{}setObservationLevel(){}}}.
> Now {{setObservationLevel()}} removes the observers on its own but not all 
> data structures are cleared properly and it causes some duplicated observers 
> being registered and duplicated bulletin messages on the UI.
> !bulletin.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to