View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037320 | mantisbt | bugtracker | public | 2026年07月21日 12:26 | 2026年07月21日 18:33 |
| Reporter | syzop | Assigned To | community | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.28.4 | ||||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0037320: Cannot submit bug when selecting any product version | ||||
| Description | Since mantisBT 2.28.4, when trying to submit a bug, when a user selects ANY Product Version mantis will reject the bug saying invalid version. I already missed several bug reports due to this. Oh and this issue is also present on this/your very bugtracker. I just had to retype my whole bug report because of it :-) If you have like DEVELOPER level then the bug does not occur. If you select NO product version then the bug does not occur. The fix in "Additional Information" or a workaround is setting: $g_report_issues_for_unreleased_versions_threshold = REPORTER; Thanks for fixing this. We are happy to use mantis since 2002 :) | ||||
| Additional Information | The fix is changing core/commands/IssueAddCommand.php From:
To something like:
EDIT (dregad): add markdown for proper code indentation | ||||
| Tags | patch | ||||
Thanks for the report and proposed fix @syzop , sorry about the inconvenience.
Are you saying the problem was introduced in 2.28.4 (i.e. not present in 2.28.3) ? If so, then it's likely a regression introduced by MantisBT master-2.28 0ac87c39 (see 0037065). I cannot analyze right now, will check later on.
Would you be able/willing to submit a pull request with the proposed patch ?
We are happy to use mantis since 2002 :)
Wow, early customer :-) thanks for your continued trust !
Yes exactly, the bug was introduced in 2.28.4, when the code that checks for report_issues_for_unreleased_versions_threshold was added. I'll do a PR.
And yeah we're an old project/user: https://bugs.unrealircd.org/view.php?id=8 (date submitted.. 2001年12月28日 19:39) :-)
Done, created as https://github.com/mantisbt/mantisbt/pull/2251
MantisBT: master 4cfa980d
2026年07月21日 18:33
Committer: community
Details Diff Fix unable to submit issue when a released version is selected
Previous fix 0037065 in 2.28.4 [1] added a version check but this
has a regression: it causes us to refuse a bug report if any
product version is selected by a reporter.
Fixes 0037320, PR https://github.com/mantisbt/mantisbt/pull/2251
[1]: commit 0ac87c39fb4746a2f8c276730fa689baf47ba8ba Affected Issues
0037065, 0037320
Copyright © 2000 - 2026 MantisBT Team
Contact administrator for assistance