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

Magento 2.2.0 Pages showing error: Data key is missing: code-entity #11163

Closed
kfaer opened this issue Sep 30, 2017 · 17 comments
Closed

Magento 2.2.0 Pages showing error: Data key is missing: code-entity #11163

kfaer opened this issue Sep 30, 2017 · 17 comments
Assignees
Labels
Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed 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 Progress: needs update

Comments

@kfaer
Copy link

kfaer commented Sep 30, 2017

Not able to create or edit any page only showing this message:

Data key is missing: code-entity

Magento 2.2.0

image

@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label Sep 30, 2017
@kfaer
Copy link
Author

kfaer commented Oct 1, 2017

Is it known issue ?
any update
@magento-engcom-team

@magento-engcom-team
Copy link
Contributor

Hi @kfaer
This is not a known issue.
We have checked this page with the clean installation of 2.2.0 and did not get same result as you did.
screen shot 2017-10-01 at 12 55 23
Please consider checking again with a clean install and file a report according to the issue reporting guidelines if the issue persists.
Thank you

@raceves2005
Copy link

raceves2005 commented Oct 1, 2017

I have the Exact same problem and its driving me INSANE! i also have another problem, when i try to add new images on slider block it saves it as an External Source as listed below, the first line calling for external source is a new image, the "wysiwyg/vorsteiner-Slider.jpg" is prior to Magento 2.2, we already reset permissions. I was running magento 2.1.9, We are also getting many "There has been an processing your request" When i try to view a product, save a product, etc... but its not consistent.

image

@magento-engcom-team
Copy link
Contributor

magento-engcom-team commented Oct 1, 2017

@raceves2005
Unfortunately we can not help as long as we can not reproduce the issue on our side.
Please follow the issue reporting guidelines and describe how your store is configured.

Thank you.

@heyepic
Copy link

heyepic commented Oct 1, 2017

Also have the same issue with creating pages after upgraded to 2.2.
Data key is missing: code-entity
When you click create page, that shows. Listing current pages works fine, but when adding, you come to page with just that.
attach

Did general post-upgraded steps including setting proper permissions.

Preconditions
Upgraded from 2.1.5 to 2.2.
Standard PHP7/MySQL running on CentOS.

Steps to reproduce
Load admin, go to pages, click Add page button.

If you click save and continue OR save page, it'll bounce me back to Orders in admin. Going back to pages, no page has been added, click add page, repeats. Editing existing pages yields the same issue.

Going into system.log, this line is added:
[2017-10-01 21:48:34] main.CRITICAL: Data key is missing: code-entity [] []

@kfaer
Copy link
Author

kfaer commented Oct 2, 2017

Preconditions
Upgraded from 2.1.9 to 2.2.
Standard PHP7/MySQL running on Ubuntu 16.04.

Steps to reproduce
Load admin, go to pages, click Add page button.
@magento-engcom-team

@Sharlyll
Copy link

Sharlyll commented Oct 3, 2017

Experiencing the same issue.

Error: Data key missing: code entity
When creating a New page or editing an exisiting one.

Magento 2.2 Clean install
Running on standard PHP7/MYSQL
Shared server

@kfaer
Copy link
Author

kfaer commented Oct 3, 2017

@antboiko It seems it is an issue with the new version 2.2.0, please advise.

@magento-engcom-team
Copy link
Contributor

@Sharlyll

Magento 2.2 Clean install

What we have tried:

  • Install 2.2.0 Open Source
  • Navigate to the admin area
  • Content > Pages > Add New Page
  • ✅ New Page Form is rendered

Please let us know if you have done any additional configuration on your store.

@kfaer It is hardly possible to advice when issue can not be replicated.

@heyepic
Copy link

heyepic commented Oct 3, 2017

If you'd like access to my server, I'd be happy to provide it.

There are also others with the same issue reporting on stackexchange and magento forums.

There was no other configuration on my end - simply used the web setup wizard to initiate the upgrade to 2.2 in the backend. Successfully completed, did permissions via SSH, and then couldn't create/edit pages. Unrelated, but I did have to give 777 to /generated due to admin errors.

@Sharlyll
Copy link

Sharlyll commented Oct 3, 2017

@magento-engcom-team Except for putting in my store info in the settings, there is no extension installed nor is there any configurations.

@Tomasz-Silpion
Copy link
Member

Issue seems to be repeatable on any Magento 2.2 store but requires all google/analytics core_config_data values set to be true (google/analytics/experiments).

Just check how it influences the:

Magento\GoogleOptimizer\Model\Plugin\Cms\Page\DataProvider class, afterPrepareMeta method $result['page_view_optimization']['arguments']['data']['disabled'] boolean.

@kfaer
Copy link
Author

kfaer commented Oct 4, 2017

Yes google analytic is enabled not able to create new pages.

specifically the option: Enable Content Experiments

@magento-engcom-team
Copy link
Contributor

@Tomasz-Silpion Thank you for the Pull Request.

@magento-engcom-team magento-engcom-team added Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Oct 4, 2017
@sarah-magentech
Copy link

Let's disable Google Analytic in the SALES tab, you will be able to edit page. For more information, please check this blog post :)

okorshenko pushed a commit that referenced this issue Oct 12, 2017
…edit form #11205

 - Merge Pull Request #11205 from lcbrq/magento2:2.2-develop
 - Merged commits:
   1. d98858e
@magento-team magento-team added 2.2.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Oct 12, 2017
@magento-team
Copy link
Contributor

Internal ticket to track issue progress: MAGETWO-80829

@magento-team
Copy link
Contributor

Hi @kfaer. Thank you for your report.
The issue has been fixed in magento-engcom/magento2ce#1282 by @magento-engcom-team in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming patch release.

@magento-team magento-team added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Jan 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed 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 Progress: needs update
Projects
None yet
Development

No branches or pull requests

8 participants