Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Interaction is not closing with compatibilty

SA-25662

Summary



Interaction is not getting closed when compatibility setting are On.


Error Messages



Not Applicable.


Steps to Reproduce



1. Configure a Save or Cancel in a button in a menu.
2. Create one work object.
3. Click on Save or Cancel Button.


Root Cause



Upon verifying the generated markup for the Menu, it is found that for data-click attribute values were not getting generated.

Markup for reference.
<tr id="/contextMenu/ID1468231949218000" orientation="vertical" class="menuItem selected" aria-selected="true"><td id="ItemLeft" class="leftEdge" data-ctl="navigation" data-click="[,]"> </td><td id="ItemMiddle" tabindex="0" role="menuitem" class="middleBack" data-ctl="navigation" data-click="[,]">Save</td><td id="ItemRight" class="rightEdge" data-ctl="navigation" data-click="[,]"> </td></tr

One can see that the click events are not getting generated. 

On creating new menus without compatibility mode, data-click attribute values were generated.

<li class="menu-item menu-item-enabled" role="presentation"> 
<a href="#" onclick="pd(event);" class="menu-item-anchor " tabindex="-1" role="menuitem" data-ctl="" data-click="[[&quot;setUserStart&quot;,[&quot;SAVE&quot;]],[&quot;doSave&quot;,[false,&quot;:event&quot;,false]],[&quot;setUserStart&quot;,[&quot;CANCEL&quot;]],[&quot;doClose&quot;,[&quot;:event&quot;,null,null,false]]]"><span class="menu-item-title-wrap" data-click="."><span class="menu-item-title" data-click="..">Save</span></span></a></li

Resolution



Here’s the explanation for the reported behavior:

Pega Platform 7.x does not support compatibility mode. In this case when compatibility mode is on system is using the old Menu control and the reported issue occurs.

User is suggested to remove the compatibility mode.
Suggest Edit

Published July 26, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us