Skip to content

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

@dmitry-lomakin

Description

@dmitry-lomakin

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions