[Bug]: User Task OnAssistEdit Missing Filter On Full User
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- backend
調査の方向性
BCApps の AL ソースで User Task Card ページ、および OnAssistEdit トリガー("Assigned To User Name" フィールド)を見つけてください。issue にはすでに意図された変更が示されています。これを、TableRelation(User Task テーブルの "Assigned To" フィールド、User."User Security ID" where("License Type" = const("Full User")))と比較し、assist edit が検証と一致するようにしてください。"User Selection" codeunit の Open を読み、フィルターされた recordset が何に影響するかを確認してください。Limited User が picker に表示されなくなり、検証エラーが発生しなくなったら完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the issue
In the user task card one can select an assigned to user by using the assist edit. The users list has no filter on Licence Type = Full User. If a limited user is selected, an error appears because the field "Assigned To" in the user task table has the property TableRelation = User."User Security ID" where("License Type" = const("Full User"));
Expected behavior
The users list opened by assist edit should have the filter on "License Type" = "Full User".
The following fix for the UserTaskCard
field("Assigned To User Name"; Rec."Assigned To User Name")
{
ApplicationArea = Basic, Suite;
DrillDown = false;
ToolTip = 'Specifies who the task is assigned to.';
trigger OnAssistEdit()
var
User: Record User;
UserSelection: Codeunit "User Selection";
begin
User.SetRange("License Type", User."License Type"::"Full User");
User.SetRange(State, User.State::Enabled);
if UserSelection.Open(User) then begin
Rec.Validate("Assigned To", User."User Security ID");
CurrPage.Update(true);
end;
end;
}
Steps to reproduce
Create a user with the license type "Limited User".
Create a new user task and select this user in the field "User Assigned To"
An error occurs because it is not a full user.
Additional context
No response
I will provide a fix for a bug
- I will provide a fix for a bug
- 主要言語
- AL
- スター
- 730
- フォーク
- 514
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 601
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/BCApps のほかの issue
-
[Bug]: Cannot add sales line item to sales order, on an on-prem installation with basic licenseオープンTeam: SCM
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/BCApps#14569 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
BCIdea Team: Finance
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
microsoft/BCApps#14478 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Approved Team: Finance
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
microsoft/BCApps#14443 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Contribution Process Bug]: Incorrect Spanish translation for Billing Line Document Type enum value "Invoice"対応中かも @JesperSchulz が 2 日前に担当しました。 オープンApproved Ownership: Needs Review Team: Other
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
microsoft/BCApps#14391 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Team: Integrations
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
microsoft/BCApps#14336 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
microsoft/BCApps の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
micronaut-projects/micronaut-core#14585 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
langgenius/graphon#443 ·
メンテナーはふだん 2 日以内に返信
-
bug new
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
moodle-an-hochschulen/moodle-theme_boost_union#1500 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Management endpoints /v1/memory/stats and /v1/memory/counts bypass API key authenticationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
docling-project/docling-serve#788 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
HaxeFoundation/haxe#13246 ·
メンテナーはふだん 1 日以内に返信