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

RuleNotFoundException on clicking outside of Autocomplete field

SA-53459

Summary



RuleNotFoundException occurs when clicking outside of the Autocomplete field.


Error Messages



com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-MODEL' with the name '<RULE_NAME>' that applies to '<RULE_CLASS>'.


Steps to Reproduce

  1. Configure a Repeat Grid with a page list property which has a reference to a data class
  2. Configure an Autocomplete control for the property column
  3. Configure 'Run Data Transform' and 'Refresh this section' during onClick event
  4. Run the case
  5. Configure a string in the Autopopulate control to populate the list values which contain the configured string
  6. Click outside of the grid


Root Cause



When entering data in the Autocomplete field, a popover displays the results. If clicking outside using a mouse, focus out event triggers on both the popover close and grid row focus out. These two focus out events overlaps and an incorrect context is set on grid the row.


Resolution

Perform the following local-change:

Configure the Autocomplete field in a different section and include that section on the grid row.




Published March 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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