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

【メールフォーム】メールフィールドの数が多い場合に、受信データ用テーブルのフィールドが不足状態で作成される #1770

Closed
fuchigam1 opened this issue Oct 26, 2021 · 0 comments

Comments

@fuchigam1
Copy link
Collaborator

fuchigam1 commented Oct 26, 2021

概要

メールフォーム複製時、複製元のフィールド数が多い場合に、環境とphpバージョンによっては、
受信データ用テーブルへのフィールド追加時に時間がかかることで、途中で処理が終了してしまい、
必要なフィールドを持たない受信データ用テーブルが作成されることがあります。

  • php環境: 5.6系
    • ※環境が7系の場合、phpのパフォーマンス自体が上がっていることであまり発生するケースはなさそうです。

baserCMS version : 4.5.2

備考

受信データ用テーブルへ1つずつカラムを追加する処理に時間がかかっているため、
対策として、一通りフィールド一覧を準備して一気に受信データ用テーブルを作成する処理にするのが良さそう。

fuchigam1 added a commit to fuchigam1/basercms that referenced this issue Oct 27, 2021
@kaburk kaburk assigned kaburk and unassigned kaburk Nov 12, 2021
@gondoh gondoh closed this as completed in 4648f9f Nov 20, 2021
gondoh added a commit that referenced this issue Nov 20, 2021
fix #1770 メールフィールドの数が多い場合に、受信データ用テーブルのフィールドが不足状態で作成されるケースが発生する点を改修
ryuring pushed a commit that referenced this issue Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants