Hello Dataverse community,
We observe a bad behavior since the installation of our Dataverse 5.12.1, it concerns the banner:
-> Once a banner is configured (online mode or offline mode), the banner is displayed correctly.
-> PROBLEM: When a user wants to delete the message (by clicking on the cross), the banner is still displayed on the page.
-> When the user reloads the page or changes the page, the banner is removed.
Is this behavior reproduced on your version of Dataverse V5.12.1 please?
Behavior observed on Brave, Chrome and Firefox.
More precisely, when the single banner is deleted by a user, this part of the code is reloaded but the generated code still contains the banner.
AJAX return after deletion :
<?xml version='1.0' encoding='UTF-8'?>
<partial-response><changes><update id="j_idt126"><![CDATA[
<form id="j_idt126" name="j_idt126" method="post" action="/dataverse.xhtml" class="form-inline" enctype="application/x-www-form-urlencoded" data-partialsubmit="true">
<input type="hidden" name="j_idt126" value="j_idt126" />
<div id="status-alert" class="bg-warning">
<div class="alert alert-dismissible container text-warning"><button id="j_idt126:j_idt128:0:closeButton" name="j_idt126:j_idt128:0:closeButton" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only close" onclick="PrimeFaces.ab({s:"j_idt126:j_idt128:0:closeButton",f:"j_idt126",u:"j_idt126"});return false;" type="submit"><span class="ui-button-text ui-c">×</span></button><script id="j_idt126:j_idt128:0:closeButton_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_j_idt126_j_idt128_0_closeButton",{id:"j_idt126:j_idt128:0:closeButton"});</script> TEST BANNER MESSAGE
</div></div>
</form>]]></update><update id="j_idt438"><![CDATA[<div id="j_idt438"></div>]]></update><update id="j_id1:javax.faces.ViewState:0"><![CDATA[3363457700739744111:2197977746364639093]]></update><eval><![CDATA[bind_bsui_components();]]></eval></changes></partial-response>
-------------------
Thanks very much,
Steven.