From: <no...@gi...> - 2011-10-06 15:46:24
|
Branch: refs/heads/master Home: https://github.com/mantisbt/mantisbt Commit: 978b17ac41aa69a2a5e04466794f42a2fbd248fa https://github.com/mantisbt/mantisbt/commit/978b17ac41aa69a2a5e04466794f42a2fbd248fa Author: Damien Regad <dam...@me...> Date: 2011-10-06 (Thu, 06 Oct 2011) Changed paths: M core/bug_api.php Log Message: ----------- Fixes moving of bugs without category Prior to this, attempting to move an issue with no category set (allowed with $g_allow_no_category = ON) to another project generated error 1502. Now, Mantis will successfully move the issue, and also set the category to the default value if it is mandatory in the target project. Fixes #13341 Commit: 47d355804701aaeddac3c16f547ee1ff1c4bab9d https://github.com/mantisbt/mantisbt/commit/47d355804701aaeddac3c16f547ee1ff1c4bab9d Author: Damien Regad <dam...@me...> Date: 2011-10-06 (Thu, 06 Oct 2011) Changed paths: M bug_report_page.php M core/constant_inc.php M core/relationship_api.php Log Message: ----------- Use constants not hardcoded values for relationship lists Defines 2 new constants BUG_REL_NONE and BUG_REL_ANY referenced when building relationship selection lists, instead of using hardcoded values -2 and -1 respectively. Affects issue #12450 Commit: 1f9c4bd1ee3b55c07669f8459f7b5be6d9028684 https://github.com/mantisbt/mantisbt/commit/1f9c4bd1ee3b55c07669f8459f7b5be6d9028684 Author: Damien Regad <dam...@me...> Date: 2011-10-06 (Thu, 06 Oct 2011) Changed paths: M bug_report_page.php M config_defaults_inc.php Log Message: ----------- Add config for default relationship when cloning a bug Introduce a new global config $g_default_bug_relationship_clone, used to preset the selection list relationship of a cloned bug with its parent. Defaults to BUG_REL_NONE. Fix #12450 Commit: bfd83a12cd058ea00b31209751909f009042bfa1 https://github.com/mantisbt/mantisbt/commit/bfd83a12cd058ea00b31209751909f009042bfa1 Author: Damien Regad <dam...@me...> Date: 2011-10-06 (Thu, 06 Oct 2011) Changed paths: M config_defaults_inc.php M core/relationship_api.php Log Message: ----------- Add config for new bug relationships Adds a new global config $g_default_bug_relationship, which presets the relation type in the selection list. Defaults to BUG_RELATED. This slightly changes the behavior compared to earlier versions, as the default was BUG_REL_ANY (-1); however, since this is not a valid entry in the selection list, the first value (BUG_DEPENDANT) was used instead. Compare: https://github.com/mantisbt/mantisbt/compare/277681c...bfd83a1 |