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

Attempt to create a field oe_media_webtools that does not exist on entity type media. #158

Closed
LOBsTerr opened this issue Feb 8, 2021 · 3 comments

Comments

@LOBsTerr
Copy link

LOBsTerr commented Feb 8, 2021

 [Exec] Running ./vendor/bin/drush updatedb -y
 ------------------- ----------- ------------- ------------------------------
  Module              Update ID   Type          Description
 ------------------- ----------- ------------- ------------------------------
  oe_media_webtools   00002       post-update   Install OP Publication List
                                                media type.
  oe_theme_helper     20015       post-update   Create oe_theme_main_content
                                                view mode for Iframe media.
 ------------------- ----------- ------------- ------------------------------


 // Do you wish to run the specified pending updates?: yes.

>  [notice] Update started: oe_media_webtools_post_update_00002
>  [error]  Attempt to create a field oe_media_webtools that does not exist on entity type media.
>  [error]  Update failed: oe_media_webtools_post_update_00002
 [error]  Update aborted by: oe_media_webtools_post_update_00002
 [error]  Finished performing updates.
 [Exec]  Exit code 1  Time 11.517s
 [Exec]  Exit code 1  Time 15.164s
@LOBsTerr
Copy link
Author

LOBsTerr commented Feb 8, 2021

Missing configuration on our side

@LOBsTerr LOBsTerr closed this as completed Feb 8, 2021
@donquixote
Copy link

I don't think this should be closed.
The post update hook should consider cases where developers have removed field storage definitions after initial install, and either provide more relevant error reporting or ignore?
Not sure what this is really trying to accomplish.

I found a similar problem with oe_media_iframe_post_update_00005(), on a site where the oe_media_iframe_thumbnail field did no longer exist - possibly removed by a developer who did not think it necessary to have. (our project git history does not tell, unfortunately).

@donquixote
Copy link

donquixote commented Dec 12, 2021

See also #182.

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

No branches or pull requests

2 participants