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

【5.1】BcCustomContentプラグインのインストールに失敗する #3165

Closed
catchup-doi opened this issue Feb 26, 2024 · 2 comments
Closed
Assignees
Labels
Bug バグ

Comments

@catchup-doi
Copy link
Contributor

概要

BcCustomContentプラグインのインストールに失敗します

具体的な手順は下記の通りです。

1.インストールボタンを押下
2.インストール画面へ遷移
3.「インストール」ボタンを押下

このページは動作していませんlocalhost では現在このリクエストを処理できません。
HTTP ERROR 500

ブラウザの戻るボタンでプラグイン一覧に戻ると下記エラーが発生していました。
SQLSTATE[42846]: Cannot coerce: 7 ERROR: cannot cast type boolean to bigint
LINE 1: ...LUMN "max_length" TYPE INTEGER USING ("max_length"::bigint),...
^

baserCMS環境は下記の通りです。

データベース: PostgreSQL
baserCMS version : 5.0.11-dev
CakePHPバージョン: 5.0.5

備考

@CUikebe
Copy link

CUikebe commented Feb 26, 2024

上記エラーに関して追記報告があります。
上記エラーの際にログに
SQLSTATE[25P02]: In failed sql transaction: 7 ERROR: current transaction is aborted, commands ignored until end of transaction block in /var/www/html/vendor/cakephp/cakephp/src/Database/Statement/Statement.php on line 159
Stack Trace:
が記録されていました。トランザクションのロックエラーですが、SQLトランザクションのエラー時にRoolback発行がなかった場合に生じるようです。エラー処理も問題がないかご確認願います。

@ryuring ryuring self-assigned this Feb 26, 2024
@ryuring ryuring added the Bug バグ label Feb 26, 2024
@ryuring
Copy link
Collaborator

ryuring commented Feb 27, 2024

@catchup-doi @CUikebe こちらのコミットで解消しました。
96ac6fe

@ryuring ryuring closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug バグ
Projects
None yet
Development

No branches or pull requests

3 participants