Distributor: バルクスキップ機能が誤って投稿をプルする

作成日 2020年07月09日  ·  5コメント  ·  ソース: 10up/distributor

バグの可能性を報告していただきありがとうございます。 以下のテンプレートをできるだけ多く記入してください。

バグを説明する
今日、ディストリビューターマイクロサイトのスクリーンショットを更新する作業をしているときに、外部接続を介してコンテンツをプルし、バルクスキップを使用すると、代わりにコンテンツをプルするときに問題が発生しました。 ただし、スキップ用の個々の行リンクは正しく機能します。 今のところ回避策は、誤ってプルされた投稿を削除することです。

再現する手順

  1. [ディストリビューター]> [コンテンツのプル]に移動します
  2. 複数の投稿を選択
  3. 一括ドロップダウンを「スキップ」に変更します
  4. 「適用」をクリックします
  5. [プル]セクションに投稿が表示されるようになり、[すべての投稿]リストテーブルでローカルに参照されている投稿が表示されるようになりました。

予想される行動

  1. 投稿が「スキップ」セクションに表示されるようになりました。

スクリーンショット

環境情報

  • デバイス:Mac mini(2018)
  • OS:macOS 10.15.5
  • ブラウザとバージョン:Firefox 78.0.1
  • WordPressバージョン:5.4.2
  • サイトの健全性情報:
### wp-core ###

version: 5.4.2
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: false
user_registration: 0
default_comment_status: open
multisite: false
user_count: 3
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /Users/jeffpaul/Local Sites/distributor-wpe/app/public
wordpress_size: 39.45 MB (41366248 bytes)
uploads_path: /Users/jeffpaul/Local Sites/distributor-wpe/app/public/wp-content/uploads
uploads_size: 56.27 KB (57625 bytes)
themes_path: /Users/jeffpaul/Local Sites/distributor-wpe/app/public/wp-content/themes
themes_size: 3.96 MB (4153984 bytes)
plugins_path: /Users/jeffpaul/Local Sites/distributor-wpe/app/public/wp-content/plugins
plugins_size: 6.35 MB (6660681 bytes)
database_size: 2.19 MB (2293760 bytes)
total_size: 52.01 MB (54532298 bytes)

### wp-active-theme ###

name: Twenty Twenty (twentytwenty)
version: 1.4
author: the WordPress team
author_website: https://wordpress.org/
parent_theme: none
theme_features: automatic-feed-links, custom-background, post-thumbnails, custom-logo, title-tag, html5, align-wide, responsive-embeds, customize-selective-refresh-widgets, editor-color-palette, editor-font-sizes, editor-styles, widgets, menus, editor-style
theme_path: /Users/jeffpaul/Local Sites/distributor-wpe/app/public/wp-content/themes/twentytwenty

### wp-themes-inactive (2) ###

Twenty Nineteen: version: 1.6, author: the WordPress team
Twenty Seventeen: version: 2.3, author: the WordPress team

### wp-plugins-active (2) ###

Distributor: version: 1.6.0, author: 10up Inc.
Simple Local Avatars: version: 2.1.1, author: Jake Goldman, 10up

### wp-plugins-inactive (2) ###

Classic Editor: version: 1.5, author: WordPress Contributors
Gutenberg: version: 8.5.0, author: Gutenberg Team

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
gd_version: bundled (2.1.0 compatible)
ghostscript_version: not available

### wp-server ###

server_architecture: Darwin 19.5.0 x86_64
httpd_software: nginx/1.16.0
php_version: 7.3.5 64bit
php_sapi: fpm-fcgi
max_input_variables: 4000
time_limit: 1200
memory_limit: 256M
max_input_time: 600
upload_max_size: 300M
php_post_max_size: 1000M
curl_version: 7.54.0 LibreSSL/2.6.5
suhosin: false
imagick_availability: false
htaccess_extra_rules: false

### wp-database ###

extension: mysqli
server_version: 8.0.16
client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /Users/jeffpaul/Local Sites/distributor-wpe/app/public/wp-content
WP_PLUGIN_DIR: /Users/jeffpaul/Local Sites/distributor-wpe/app/public/wp-content/plugins
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_LOCAL_DEV: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

### distributor ###

0: 1.6.0
1: Yes
2: [email protected]
3: 
    Override Author Byline: No
    Media Handling: Featured image only
4: N/A
5: 
    YosemiteParkExplorer.com: 
- URL: http://distributor-ype.local/wp-json/
- Version: 1.6.0
- Status: valid
- Auth method: Username / Password
- Username: jeffpaul
- Roles Allowed to Push: administrator, editor
- Additional data: {"errors":[], "can_post":["post", "page", "attachment", "wp_block"], "can_get":["post", "page", "attachment", "wp_block"], "endpoint_suggestion":false}

追加のコンテキスト

将来このリグレッションを回避するために、バルクプル/スキップオプションと行リンクプル/スキップオプションをカバーするテストを追加することを確認しましょう。

bug help wanted tests needed

全てのコメント5件

@jeffpaul私はこの問題に

@jeffpaulこの問題をローカルで再現しようとしましたが、再現できませんでした。

https://user-images.githubusercontent.com/6737105/107647301-025b3b80-6ca1-11eb-8042-faf19b059b4a.mp4

@dhanendranテストしたところ、これが発生したように見えますが、リストテーブルの下部にある一括アクションの場合のみです。 下部の一括アクションドロップダウンを使用して、ローカルで再テストすることをお勧めしますか?

@jeffpaulそうです、一番下のものは期待どおりに機能していません。 今すぐ修正に取り掛かります。

このページは役に立ちましたか?
0 / 5 - 0 評価