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

broken references when viewing admin after initial install #1795

Closed
markshust opened this issue Sep 4, 2015 · 9 comments
Closed

broken references when viewing admin after initial install #1795

markshust opened this issue Sep 4, 2015 · 9 comments
Labels
bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@markshust
Copy link
Contributor

These messages come up when going to the admin after a fresh install:

[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'global_notices' element cannot be added as child to 'global.notices', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'logo' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'logo' tries to reorder itself towards '', but their parents are different: 'header' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'global.search' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'global.search' tries to reorder itself towards 'logo', but their parents are different: 'header' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'user' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'user' tries to reorder itself towards '', but their parents are different: 'header' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'menu' element cannot be added as child to 'page.menu', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'breadcrumbs' element cannot be added as child to 'page.breadcrumbs', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'formkey' element cannot be added as child to 'page.formkey', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'page.title' element cannot be added as child to 'main.top', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'messages' element cannot be added as child to 'page.messages', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'page.actions.toolbar' element cannot be added as child to 'page.main.actions', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'page.actions.toolbar' tries to reorder itself towards '', but their parents are different: 'page.main.actions' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'locale.switcher' element cannot be added as child to 'footer', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'legal' element cannot be added as child to 'footer', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'page.loader' element cannot be added as child to 'backend.page', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'page.loader' tries to reorder itself towards '', but their parents are different: 'backend.page' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'requirejs-config' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'translate' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'head.components' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'head.calendar' element cannot be added as child to 'after.body.start', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'system_messages' element cannot be added as child to 'notifications', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'system_messages' tries to reorder itself towards '', but their parents are different: 'notifications' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'unread_system_messages' element cannot be added as child to 'notifications', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'unread_system_messages' tries to reorder itself towards 'system_messages', but their parents are different: 'notifications' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'notification_window' element cannot be added as child to 'notifications', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'notification.messages' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'notification.messages' tries to reorder itself towards 'user', but their parents are different: 'header' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'header.inner.left' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'header.inner.left' tries to reorder itself towards '', but their parents are different: 'header' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'header.inner.right' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'header.inner.right' tries to reorder itself towards 'header.inner.left', but their parents are different: 'header' and '' respectively. [] []
[2015-09-04 20:14:41] main.CRITICAL: Broken reference: the 'global.search' tries to reorder itself towards 'notification.messages', but their parents are different: 'header.inner.right' and '' respectively. [] []
@alankent
Copy link

alankent commented Sep 4, 2015

Yes, I don't think this is a new problem, but the "CRITICAL" part is not good. I think what is going on is if you access a one column layout page, there are not as many containers present as the 2 and 3 column versions. 2 and 3 columns are actually the same layout file, just with different CSS to move things to the left or right - so identical containers are present. One column however does not have as many containers.

Just tossing around an idea quickly, one possible approach is to have a flag on containers so you can say "hidden". So the rendering library throws it away in one column mode still, but you have the same set of containers for all page layouts to stop these messages appearing.

(I have not discussed with core team yet, they might have some clever idea as well.)

Note: I have not verified this is the problem, but I think it is for some of the error messages at least. I guess could experiment by changing say the dashboard to 2 column mode and see if they go away when hitting the home page.

Another alternative is to just review if CRITICAL versus debugging level only.

@okorshenko okorshenko added the TECH label Sep 8, 2015
@piotrekkaminski
Copy link
Contributor

internal issue MAGETWO-43793

@NadiyaS NadiyaS added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Oct 8, 2015
@davidalger
Copy link
Member

Fixed. Please reopen if issue persists.

@nmallepally
Copy link

I see this error on 2.1v install , lot of broken reference in my system.log and cache invalidate in debug.log errors. attached a file for ref.
system.log.em.txt

@reiser
Copy link

reiser commented Aug 11, 2016

I got the problem on a fresh 2.1 too,

Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []

@kevinak941
Copy link

Same problem. Fresh install 2.1

[2016-08-31 20:51:32] report.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE0_31d5ed1d21fc106e91a3b31fa91f7e26d and handles default, catalog_category_edit: Please correct the XML data and try again.  [] []
[2016-08-31 20:51:32] report.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE0_3793edbdc1c00dd1c3aa9e1b3dc856b39 and handles admin-2columns-left: Please correct the XML data and try again.  [] []
[2016-08-31 20:51:32] report.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-08-31 20:51:32] report.CRITICAL: Broken reference: the 'page.breadcrumbs' tries to reorder itself towards 'notifications', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] []
[2016-08-31 20:51:32] report.CRITICAL: Broken reference: the 'notification.messages' tries to reorder itself towards 'user', but their parents are different: 'header.inner.right' and 'header' respectively. [] []
[2016-08-31 20:51:32] report.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE0_36f1b068ec7ccf4878f9284dd1137afd1 and handles catalog_product_prices: Please correct the XML data and try again.  [] []

@cuiyang000
Copy link

cuiyang000 commented Sep 9, 2016

Can confirm, same as @kevinak941

@lrfsh
Copy link

lrfsh commented Feb 28, 2017

Same problem after sample:deploy on 2.1.5

@pythonl1
Copy link

Same problem on 2.1.5 after installing a new theme.

@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label Nov 11, 2017
magento-team pushed a commit that referenced this issue Dec 1, 2017
[EngCom] Public Pull Requests - 2.2-develop
magento-engcom-team added a commit that referenced this issue Sep 14, 2020
…ductFilterTest #29909

 - Merge Pull Request #29909 from joweecaquicla/magento2:ASI-1795-mftf-unskip-admin-media-gallery-catalog-ui-used-in-product-filter-test
 - Merged commits:
   1. 80c1f3c
   2. 055ad7e
   3. a298f3b
   4. c1410e7
   5. e786fb1
   6. 072c394
magento-engcom-team added a commit that referenced this issue Sep 14, 2020
…op latest changes

Accepted Community Pull Requests:
 - #29959: Fix saving default directory in the default bookmark of media gallery (by @engcom-Golf)
 - #30006: #1829: Duplicated items in Asset filter on Entities grids (by @joweecaquicla)
 - #29993: Update minimum required php version in bootstrap.php (by @ihor-sviziev)
 - #29909: #1795: [MFTF] Unskip AdminMediaGalleryCatalogUiUsedInProductFilterTest (by @joweecaquicla)
 - #29688: Set of improvements for LoginAsCustomer modules (by @lbajsarowicz)
 - #29415: #29354 :- Login as Customer storefront banner is not sticky (by @konarshankar07)


Fixed GitHub Issues:
 - #1813: Magento 2 1.0.0-beta Merchant Beta1 - Webinstaller / Console Installer - Error "Database user does not have enough privileges" (reported by @magentofaz) has been fixed in #29959 by @engcom-Golf in 2.4-develop branch
   Related commits:
     1. f8fd731
     2. a948194
     3. 235318a
     4. b1ed802
     5. f5bd175
     6. be49be3

 - #30004: [Issue] Update minimum required php version in bootstrap.php (reported by @m2-assistant[bot]) has been fixed in #29993 by @ihor-sviziev in 2.4-develop branch
   Related commits:
     1. 2956a48

 - #29689: [Issue] Set of improvements for LoginAsCustomer modules (reported by @m2-assistant[bot]) has been fixed in #29688 by @lbajsarowicz in 2.4-develop branch
   Related commits:
     1. 32adddb
     2. b4d78e7
     3. b68e049
     4. 2ba0163

 - #29354: Login as Customer storefront banner is not sticky (reported by @mbrinton01) has been fixed in #29415 by @konarshankar07 in 2.4-develop branch
   Related commits:
     1. 4f2d8de
     2. 43cca51
     3. 00b3ff2
     4. 804ed71
     5. c0ca7cd
     6. b35d9dc
     7. 425113c
     8. 58b78f6
     9. debeec2
     10. 2aca78a
     11. c3d57cd
     12. eca27c7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests