Contribution notes generated twice with Default matcher

オープン
#331 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
php
領域
api, backend

調査の方向性

Default matcher とその 2 つの Contribution.create 呼び出しを特定し、次に is_test=1 リクエストと確定処理の間に CiviCRM API が note パラメーターをどのように処理するかを追跡します。テストリクエストでは Note が作成されない一方で、note が存在する場合は確定済みの contribution では引き続き Note が作成されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug needs funding status:needs review

Since the Default matcher calls Contribution.create twice when the user adds new contributions with it (first, with is_test=1 and again when confirming the suggestion), the CiviCRM API will create two Note objects, when the note parameter is present (e.g. via value propagation).

The Default matcher should exclude the note parameter when first creating new contributions with is_test=1 and only let the API create a Note object when the user confirms the suggestion.

主要言語
PHP
スター
23
フォーク
46
平均マージ
13時間 43分
マージ済み PR(30日)
7

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Project60/org.project60.banking のほかの issue

Project60/org.project60.banking の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。