Project

General

Profile

Actions

Backport(バックポート) #3629

closed

MySQL のレプリケーションを有効にすると、スレーブから i18nビヘイビアのフィールドのデータが取得できない

Added by 誠二 天重 over 10 years ago. Updated over 10 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Assignee:
Target version:
Start date:
2010-09-18
Due date:
% Done:

100%

Estimated time:

Description

現象

スレーブから i18nビヘイビアのフィールドのデータが取得できない

エラー画像を添付します

エラー内容は次のものです。

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'p.caption' in 'field list'

database.yml

all:
  slave_1:
    class: sfDoctrineDatabase
    param:
      dsn: 'mysql:dbname=ubee;host=localhost;unix_socket=/var/lib/mysql/mysql_s1.sock'
      username: ubee
      encoding: utf8
      attributes: { 164: true }
      priority: 2
  doctrine:
    class: sfDoctrineDatabase
    param:
      dsn: 'mysql:dbname=ubee;host=localhost;unix_socket=/var/lib/mysql/mysql.sock'
      username: ubee
      encoding: utf8
      attributes: { 164: true }
      priority: 1

原因

バグが発生した原因を記入

修正内容

修正内容を記入


Files


Related issues 1 (0 open1 closed)

Copied from OpenPNE 3 - Bug(バグ) #1599: MySQL のレプリケーションを有効にすると、スレーブから i18nビヘイビアのフィールドのデータが取得できないWon't fix(対応せず)誠二 天重2010-09-18

Actions
Actions #1

Updated by 誠二 天重 over 10 years ago

  • Copied from Bug(バグ) #1599: MySQL のレプリケーションを有効にすると、スレーブから i18nビヘイビアのフィールドのデータが取得できない added
Actions #2

Updated by 誠二 天重 over 10 years ago

  • Status changed from New(新規) to Pending Review(レビュー待ち)
  • Assignee set to 誠二 天重
  • % Done changed from 0 to 50

https://github.com/openpne/OpenPNE3/pull/146
にてプルリクエスト。

Actions #3

Updated by Shinichi Urabe over 10 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

レビューOKです

Actions #4

Updated by 誠二 天重 over 10 years ago

トピックブランチでの単体試験は完了しました。
特に問題ありません。
stable-3.8.xでの結合試験完了まではステータスはテスト待ちになります。

Actions #5

Updated by Shinichi Urabe over 10 years ago

https://github.com/openpne/OpenPNE3/pull/146 は stable-3.8.x に取り込み済みです

Actions #6

Updated by isao sano over 10 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 70 to 100

結合試験完了しました。
問題ありませんのでステータスを「Fixed」いたします。

Actions

Also available in: Atom PDF