MantisBT: master-2.27 1602c96e

Author Committer Branch Timestamp Parent
dregad dregad master-2.27 2025-10-22 11:45 master-2.27 62f67e6e
Changeset

Localize field name in validation function

helper_ensure_longtext_length_valid() now expects the actual field name
instead of the localized one, and takes care of calling lang_get() to
produce the error message.

Include field name in Exception message.

Add missing info for $p_field parameter in PHPDoc block.

Addresses @vboctor's review comments.

mod - core/bug_api.php Diff File
mod - core/bugnote_api.php Diff File
mod - core/commands/IssueAddCommand.php Diff File
mod - core/helper_api.php Diff File
mod - core/profile_api.php Diff File