[Tags] Confusion over child primary tags treated as secondary tags

オープン
#3,640 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
php
領域
backend

調査の方向性

まず、issue に記載されているタグ設定ページとディスカッション作成の手順を通じて動作を再現してください。期待される動作は明示的に未解決であり、ファイル、テスト、エントリーポイントも指定されていないため、まず意図された完了基準を確立する必要があります。

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

説明

type/bug
Current Behavior

In some parts of the software child primaries are treated as secondary tags (such as checking fo min max requirements when posting). In other parts they are considered primaries (such as checking global start discussion permission). The difference in behavior is very confusing and needs to be organized/figured out.

Steps to Reproduce
  1. in tag settings page set primary to min 1, max 1, set secondary to min 1, max 3
  2. create a primary tag and drop it under the primary General
  3. create a discussion select both General and the newly created sub tag
  4. discussion is created
Expected Behavior

Needs to be figured out.

Screenshots

No response

Environment
  • Flarum version: Since forever.
Output of php flarum info

No response

Possible Solution

No response

Additional Context

@jordanjay29 and/or @askvortsov1 might have more context about the current behavior.

主要言語
PHP
スター
6.8k
フォーク
891
平均マージ
1日 10時間
マージ済み PR(30日)
209

環境構築

はじめの一歩

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

flarum/framework のほかの issue

flarum/framework の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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