Title: SQLite Compatibility · Issue #430 · wp-cli/entity-command · GitHub
Open Graph Title: SQLite Compatibility · Issue #430 · wp-cli/entity-command
X Title: SQLite Compatibility · Issue #430 · wp-cli/entity-command
Description: When I manually run the tests locally with SQLite, the following scenarios are failing: 001 Scenario: Approving/unapproving comments # features/comment.feature:161 Then STDERR should contain: # features/comment.feature:173 $ wp comment a...
Open Graph Description: When I manually run the tests locally with SQLite, the following scenarios are failing: 001 Scenario: Approving/unapproving comments # features/comment.feature:161 Then STDERR should contain: # fea...
X Description: When I manually run the tests locally with SQLite, the following scenarios are failing: 001 Scenario: Approving/unapproving comments # features/comment.feature:161 Then STDERR should contain: # fea...
Opengraph URL: https://github.com/wp-cli/entity-command/issues/430
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SQLite Compatibility","articleBody":"When I manually run the tests locally with SQLite, the following scenarios are failing:\r\n\r\n```\r\n001 Scenario: Approving/unapproving comments # features/comment.feature:161\r\nThen STDERR should contain: # features/comment.feature:173\r\n$ wp comment approve 2 --url=www.example.com\r\nSuccess: Approved comment 2.\r\n\r\n002 Scenario: Publishing a post and setting a date succeeds if the edit_date flag is passed. # features/post.feature:460\r\nThen STDOUT should contain: # features/post.feature:473\r\n$ wp post get 4 --field=post_date\r\n2005-01-24T09:52:00.000Z\r\n\r\n003 Scenario: Empty a site # features/site-empty.feature:3\r\nWhen I run `wp db query \"SOURCE insert_link_data.sql;\"` # features/site-empty.feature:15\r\n$ wp db query \"SOURCE insert_link_data.sql;\"\r\n\r\nERROR 1146 (42S02) at line 1 in file: 'insert_link_data.sql': Table 'wp_cli_test.wp_links' doesn't exist\r\n\r\n004 Scenario: Empty a site and its uploads directory # features/site-empty.feature:103\r\nWhen I run `wp site empty --uploads --yes` # features/site-empty.feature:114\r\n$ wp site empty --uploads --yes\r\nSuccess: The site at 'https://example.com' was emptied.\r\n\r\nWordPress database error\r\n\r\n[...]\r\n\r\nError occurred at line 3373 in Function \u003ccode>handle_error\u003c/code>. Error message was: SQLSTATE[HY000]: General error: 1 incomplete input.\r\nBacktrace:\r\nWP_SQLite_Translator->get_error_message()\r\n#1 src/Site_Command.php(83): WP_SQLite_DB->query('TRUNCATE wp_pos...')\r\n#2 src/Site_Command.php(263): Site_Command->empty_posts()\r\n#3 [internal function]: Site_Command->empty_(Array, Array)\r\n\r\n[...]\r\n\r\n005 Scenario: Filter options by `--site_id` # features/site-option.feature:130\r\nWhen I run `wp db query \"INSERT INTO wp_sitemeta (site_id,meta_key,meta_value) VALUES (2,'wp_cli_test_option','foobar');\"` # features/site-option.feature:133\r\n$ wp db query \"INSERT INTO wp_sitemeta (site_id,meta_key,meta_value) VALUES (2,'wp_cli_test_option','foobar');\"\r\n\r\nERROR 1146 (42S02) at line 1: Table 'wp_cli_test.wp_sitemeta' doesn't exist\r\n\r\n```\r\n\r\nLet's figure out the best course of action here. ","author":{"url":"https://github.com/swissspidy","@type":"Person","name":"swissspidy"},"datePublished":"2023-10-21T14:46:48Z","url":"https://github.com/wp-cli/entity-command/issues/430"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6071822b-6750-de27-12f0-13c12f9d0b02 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6A4:A82D7:1F220B:2BBC76:6AFB6C45 |
| html-safe-nonce | fd7ddef6675997330ea38b954993a34636658157e38edf158d79c0a5e02b218f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkE0OkE4MkQ3OjFGMjIwQjoyQkJDNzY6NkFGQjZDNDUiLCJ2aXNpdG9yX2lkIjoiNzE4NjI2MTg5MDQ0NjM1NTUyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 21c5a77b0ecef71b30f6f3294ba097eed5394214c754b2950830cc9e9432aa94 |
| hovercard-subject-tag | issue:1955521683 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wp-cli/entity-command/430/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3370b2ed11c2ddf9837de44b94092f6556b717a718beb80a0edc45ea4b7f03e3/wp-cli/entity-command/issues/430 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3370b2ed11c2ddf9837de44b94092f6556b717a718beb80a0edc45ea4b7f03e3/wp-cli/entity-command/issues/430 |
| og:image:alt | When I manually run the tests locally with SQLite, the following scenarios are failing: 001 Scenario: Approving/unapproving comments # features/comment.feature:161 Then STDERR should contain: # fea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | swissspidy |
| hostname | github.com |
| expected-hostname | github.com |
| None | cca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700 |
| turbo-cache-control | no-preview |
| go-import | github.com/wp-cli/entity-command git https://github.com/wp-cli/entity-command.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 87201389 |
| octolytics-dimension-repository_nwo | wp-cli/entity-command |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 87201389 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/entity-command |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 88808b1fae5ab8a526a73e7ce5542a10eb9d6971 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width