craftcms / craftcms/cms

[5.x]: Issue with “Last Edited By” column in Multi-Country Setup

オープン
#17,841 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
PHP
スター
3.6k
フォーク
705
平均マージ
1日 5時間
マージ済み PR(30日)
134

説明

What happened?
Description

We’re experiencing an issue with how the “Last Edited By” column display in our multi-country Craft CMS setup.

  • Our site uses a template duplicated across multiple countries.
  • In the entry list view, the “Last Edited By” column shows the last editor globally, regardless of which country’s entry is being managed.
  • This is causing confusion among our agents, since edits made in one country appear under other countries’ entries.
  • As a temporary measure, we have disabled the “Last Edited By” columns, but ideally, we would like to display the correct, context-specific information instead of removing these column.
Image

Questions:

  • Is this expected behavior in Craft CMS when working with duplicated entries across multiple countries?
  • Is there a way to filter or scope “Last Edited By” so they reflect only the relevant editors within that country/section?
  • If not, is there any workaround or upcoming fix planned to address this?

We’d appreciate your guidance on how best to resolve this, as our team finds this information useful but currently misleading.

Steps to reproduce
Expected behavior
Actual behavior
Craft CMS version

Craft Pro 5.8.17

PHP version

8.2.27

Operating system and version

Linux 5.4.0-208-generic

Database type and version

MySQL 31

Image driver and version

GD 8.2.27

Installed plugins and versions

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

このレポートは、複数の国を設定した環境におけるエントリ一覧の「Last Edited By」列に関するものです。まず、PHP 8.2 と MySQL 上の Craft Pro 5.8.17 で、テンプレートを複製して再現してください。表示される編集者が現在の国にスコープされているかを確認し、その後、期待される動作と、再現可能な修正または確認済みの回避策を記録してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
mysql, php
領域
backend, localization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。