Coder Social home page Coder Social logo

recommend-plugin's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

recommend-plugin's Issues

有効化時にエラー(EC-CUBE3.0.3, 3.0.4のみ再現)

EC-CUBE3.0.3, 3.0.4にて、インストール後、有効化のタイミングで下記エラーが発生。

▼エラーログ
"myapp.CRITICAL: Doctrine\DBAL\Exception\UniqueConstraintViolationException: An exception occurred while executing 'INSERT INTO dtb_block (block_id, block_name, file_name, create_date, update_date, logic_flg, deletable_flg, device_type_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)' with params [13, ""\u304a\u3059\u3059\u3081\u5546\u54c1"", ""recommend_product_block"", ""2015-12-24 11:45:19"", ""2015-12-24 11:45:19"", 1, 0, 10]: SQLSTATE[23505]: Unique violation: 7 ERROR: 重複キーが一意性制約""device_type_id""に違反しています DETAIL: キー (device_type_id, file_name)=(10, recommend_product_block) はすでに存在します (uncaught exception) at /home/web/check.ec-cube.net/html/plugin/kaji/eccube-3.0.4-pgsql/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php line 63 {""exception"":""[object](Doctrine\DBAL\Exception\UniqueConstraintViolationException%28code: 0%29: An exception occurred while executing 'INSERT INTO dtb_block %28block_id, block_name, file_name, create_date, update_date, logic_flg, deletable_flg, device_type_id%29 VALUES %28?, ?, ?, ?, ?, ?, ?, ?%29' with params [13, ""\u304a\u3059\u3059\u3081\u5546\u54c1"", ""recommend_product_block"", ""2015-12-24 11:45:19"", ""2015-12-24 11:45:19"", 1, 0, 10]:nnSQLSTATE[23505]: Unique violation: 7 ERROR: 重複キーが一意性制約""device_type_id""に違反していますnDETAIL: キー %28device_type_id, file_name)=(10, recommend_product_block) はすでに存在します at /home/web/check.ec-cube.net/html/plugin/kaji/eccube-3.0.4-pgsql/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php:63, Doctrine\DBAL\Driver\PDOException(code: 23505): SQLSTATE[23505]: Unique violation: 7 ERROR: 重複キーが一意性制約""device_type_id""に違反しています\nDETAIL: キー (device_type_id, file_name)=(10, recommend_product_block) はすでに存在します at /home/web/check.ec-cube.net/html/plugin/kaji/eccube-3.0.4-pgsql/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 23505): SQLSTATE[23505]: Unique violation: 7 ERROR: 重複キーが一意性制約""device_type_id""に違反し>
ています\nDETAIL: キー (device_type_id, file_name)=(10, recommend_product_block) はすでに存在します at /home/web/check.ec-cube.net/html/plugin/kaji/eccube-3.0.
4-pgsql/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)""} []"

[Recommend42] セッションの有効期限が切れているか使用できない場合、表示エラーによりログイン ページが表示されます。

概要(Overview)

セッションの有効期限が切れているか使用できない場合、表示エラーによりログイン ページが表示されます。

期待する内容(Expect) or 要望 (Requirement)

再現手順(Procedure)

Step 1. コンテンツ管理 > おすすめ管理 > おすすめ商品を新規登録 (/plugin/recommend/new)
[eccube]のクッキーを削除して商品検索ボタンを押してください。
image

環境 (environment)

  • EC-CUBE: 4.2.0-beta2-20220916
  • PHP: 7.4.x, 8.1.x
  • DB:
    • PostgreSQL 14.x.x
    • MySQL 5.7.x

関連情報 (Ref)

4.2 公式プラグインテスト_EC-CUBE 4.2.0-beta2-20220916_Plugin

YamlのEntity設定の中にMappingが間違えてます(RecommendProduct.dcm.yml)

ec-cube 3.0.12
プラグイン:Recommend 1.0.3

問題:YamlのEntity設定の中にMappingが間違えてます
ファイル:
 app/Plugin/Recommend/Resource/doctrine/Plugin.Recommend.Entity.RecommendProduct.dcm.yml

対応方法:
行目:33~

    manyToOne:
        Product:
            targetEntity: Eccube\Entity\Product
            inversedBy: RecommendProduct
            joinColumn:
                name: product_id
                referencedColumnName: product_id
    lifecycleCallbacks: {  }

    manyToOne:
        Product:
            targetEntity: Eccube\Entity\Product
            joinColumn:
                name: product_id
                referencedColumnName: product_id
    lifecycleCallbacks: {  }

非表示にする機能が欲しい

概要(Overview)

プラグインご利用者様からいただいたフィードバック

期待する内容(Expect) or 要望 (Requirement)

一度登録したおすすめ商品を、削除だけでなく
非表示にする機能もあれば更にいいなと思います。

EC-CUBE全体でトランザクション管理しているのでプラグインでのtransaction処理は不要

概要(Overview)

EC-CUBE全体でトランザクション管理しているのでRepository等でのtransaction処理は不要
transaction処理をしていても問題が発生するわけではない。

期待する内容(Expect) or 要望 (Requirement)

以下からトランザクション処理を削除

  • RecommendProductRepository

再現手順(Procedure)

環境 (environment)

  • EC-CUBE: 4.0.0

関連情報 (Ref)

http://doc.ec-cube.net/plugin_update-for3011#exit%E3%81%AB%E3%82%88%E3%82%8B%E5%87%A6%E7%90%86%E3%81%AE%E7%B5%82%E4%BA%86%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6

コメントの更新ができない

おすすめ商品の編集画面にて、コメントを更新しようとすると「既に商品が追加されています。」とエラー表示されます。
ver.1.0.1
eccube3.0.10

おすすめ商品のリストを、複数作成して利用したい

おすすめ商品でも、
・人気商品のおすすめ
・セール中のおすすめ
など異なる軸でおすすめしたいケースがある。
(つまり表示内容の異なるおすすめ商品ブロックを複数利用したい)

現在のプラグインだと、1つのリスト(ブロック)しか作れないので、上記のような使い方ができない。

登録画面でラベルが折り返される

概要(Overview)

少しウインドウ幅を小さくしただけで、ラベルが折り返されます

期待する内容(Expect) or 要望 (Requirement)

折り返されずに表示されるといいです

再現手順(Procedure)

ウインドウ幅を少しだけ小さくしておすすめ商品登録画面を表示します

image
そうすると、「説明文」がまだスペースがあるのに折り返されます

環境 (environment)

  • EC-CUBE: 4.2.β
  • PHP: 7.x.x
  • DB:
    • PostgreSQL x.x.x
    • MySQL x.x.x

関連情報 (Ref)

商品名が長い時に、モーダルの決定ボタンが折り返される

概要(Overview)

商品名が長い時に、モーダルの決定ボタンが折り返されます

期待する内容(Expect) or 要望 (Requirement)

折り返されずに表示されるといいです

再現手順(Procedure)

長い商品名を登録後、「商品の追加」ボタンからモーダルを表示します

image

すると、商品名が短いものだけの時は1行で表示される「決定」が2行になります

環境 (environment)

  • EC-CUBE: 4.2.β
  • PHP: 7.x.x
  • DB:
    • PostgreSQL x.x.x
    • MySQL x.x.x

関連情報 (Ref)

[Recommend42] css と js のエラーはコンソールに表示されますが、機能には影響しません。

概要(Overview)

css と js のエラーはコンソールに表示されますが、機能には影響しません。

期待する内容(Expect) or 要望 (Requirement)

再現手順(Procedure)

Step 1. コンテンツ管理 > おすすめ管理
F12 を押して、コンソールのエラー表示を確認します。
image

環境 (environment)

  • EC-CUBE: 4.2.0-beta2-20220916
  • PHP: 7.4.x, 8.1.x
  • DB:
    • PostgreSQL 14.x.x
    • MySQL 5.7.x

関連情報 (Ref)

4.2 公式プラグインテスト_EC-CUBE 4.2.0-beta2-20220916_Plugin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.