Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c.o.a.service.navigation.StaticModel - Ambiguity in finding a parent #39

Open
dmitry-lomakin opened this issue Feb 23, 2018 · 0 comments

Comments

@dmitry-lomakin
Copy link
Contributor

During detailed checks of the 2.0-20, an engineer from Odin has found a warning in UI log file on management node during CCPv2 navigation for Spam Experts tab:

[root@oa73a ~]# tail -fn0 /var/log/pa/pui/pui.log  | grep Ambiguity
23:53:24.794 [default task-225] WARN  c.o.a.service.navigation.StaticModel - Ambiguity in finding a parent for 'view-plugin@http://www.odin.com/oa/billing/paymentmanagement#paymentMethodSelector'. Trying to assign 'plugin-placeholder@http://www.parallels.com/ccp-billing-financial-documents#payment-method-selector' but 'plugin-placeholder@http://www.parallels.com/ccp-billing-financial-documents#payment-method-selector' is already assigned! Behavior now depends on order of elements and packages!

This means that one view plugs to several different parent elements, which is wrong according to the ambiguity warning in the following documentation section:
https://doc.apsstandard.org/7.3/concepts/frontend/navigation/index.html#static-navigation

This can cause random 404 errors when navigating the CP. It is highly recommended to fix this issue in next application update.

Version information

2.0-20

Steps to replicate

  1. Make some navigation between CCPv2 pages for Spam Experts tab
  2. Check the log file

Actual result

The contains an error message

Expected result

No error messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant