EC-CUBE / EC-CUBE/eccube-update-plugin

4.0.2→4.0.3がMySQLでエラーになる

Open
#15 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
0
Forks
9
PR merge metrics
No merged PRs in 30d

Description

元Issue) https://github.com/EC-CUBE/ec-cube/issues/4463

## 概要(Overview)
EccubeUpdater402to403を使用するとmysqlでエラーになる

dtb_order_item のtax_adjustは4.03で追加されたカラムが追加されず存在しないというエラーになります。

暫定回避策)
php bin/console eccube:schema:update --force --dump-sql
というコマンドを実行すればカラムが追加されると思います。

## 期待する内容(Expect) or 要望 (Requirement)
Updatepluginで正しくtax_adjustが追加される

## 再現手順(Procedure)

### 環境 (environment)
+ EC-CUBE: 4.0.x
+ PHP: 7.x.x
+ DB:
- PostgreSQL x.x.x
- MySQL x.x.x

## 関連情報 (Ref)
https://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=23352&forum=10&post_id=96327#forumpost96327

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting EccubeUpdater402to403 and the schema update path for dtb_order_item. Reproduce the 4.0.2 to 4.0.3 update on MySQL and verify whether tax_adjust is added automatically; done means the updateplugin completes without requiring php bin/console eccube:schema:update --force --dump-sql.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.