View Issue Details

IDProjectCategoryView StatusLast Update
0022363mantisbtrelationshipspublic2022-05-22 10:08
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.1.0 
Target Version2.2.0Fixed in Version2.2.0 
Summary0022363: Setting a duplicate id should update relationship with target issue if already exists
Description

At the moment, an error is prompted rather than updating the relationship type to duplicate of. For example, 'related' can become 'duplicate of'.

TagsNo tags attached.

Activities

Related Changesets

MantisBT: master 1516e6e9

2017-02-11 16:23

vboctor


Details Diff
Duplicate id updates relationship if exists

If a relationship exists between issue being updated with a duplicate id, and the duplicate issue,
update it to reflect duplicate relationship type rather than erroring out.

Fixes 0022363
Affected Issues
0022363
mod - bug_update.php Diff File
mod - core/constant_inc.php Diff File
mod - lang/strings_english.txt Diff File

MantisBT: master 5806b1b2

2022-05-22 10:08

dregad


Details Diff
Remove obsolete error constants

- ERROR_RELATIONSHIP_ALREADY_EXISTS
see issue 0022363 commit 1516e6e9be0a04bd39523ebf15574ca361d1c70e
- ERROR_SESSION_HANDLER_INVALID
see issue 0023966 commit 1ed490a1dd0b3c897938a4a0eee68b28eb35bd2e

These have effectively not been used in the code for years, but had
to be kept until they were no longer referenced in language files.
Affected Issues
0022363, 0023966
mod - api/soap/mc_api.php Diff File
mod - core/constant_inc.php Diff File