Project

General

Profile

Actions

Feature #8691

closed

Better handling of issue update conflict

Added by pasquale [:dedalus] over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Category:
Issues
Target version:
Start date:
2011-06-27
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Redmine should be provide some handling of "mid-air collision" as in Bugzilla. Bugzilla does not lock records. It provides mid-air collision detection, and offers the offending user a choice of options to deal with the conflict: exit without push changes and push changes anyway.

For me this is a defect because cause dataloss, but I add it to tracker feature


Files


Related issues

Has duplicate Redmine - Feature #9292: "Data has been updated by another user." - Allow this to be clicked throughClosed2011-09-21

Actions
Actions #1

Updated by Etienne Massip about 13 years ago

  • Target version set to Candidate for next major release
Actions #3

Updated by Nayuta Taga almost 13 years ago

I wrote a patch for this problem.
When "mid-air collision" happens, it shows a conflict resolution menu like:

    ----------------------------------------------------------------
    Feature #8691
    ----------------------------------------------------------------
    Another user's updates
    ----------------------------------------------------------------
    Updated by Foo Bar less than a minute ago                     #3
    ----------------------------------------------------------------
    note note note note ....
    note note note note ....
    note note note note ....

    +--------------------------------------------------------------+
    | (!) * Data has been updated by another user.                 |
    +--------------------------------------------------------------+
    +--------------------------------------------------------------+
    | Conflict Resolution                                          |
    | ( ) Throw away my changes, and show #8691                    |
    | (*) Submit only my new notes                                 |
    | ( ) Edit agein                                               |
    +--------------------------------------------------------------+
    | Notes                                                        |
    | +----------------------------------------------------------+ |
    | |my note my note my note my note ....                      | |
    | |my note my note my note my note ....                      | |
    | |my note my note my note my note ....                      | |
    | |                                                          | |
    | +----------------------------------------------------------+ |
    +--------------------------------------------------------------+
    [Submit] Preview

If you select "Throw away my changes, and show #8691",
the notes area will be hidden (by javascript) and
the submit button's text will change to "Show #8691".
The button works as same as the #8691 link.

If you select "Submit only my new notes",
you can submit notes only.
Other attributes will never be changed.
This menu does not appear if you wrote no note previously.

If you select "Edit agein", an full update interface is shown.

Actions #6

Updated by pasquale [:dedalus] almost 13 years ago

I have applied patch for 1.3.0 stable release and all works fine: some chance to land it on next 1.4.0 milestone?

Actions #7

Updated by Jean-Philippe Lang almost 13 years ago

  • File conflict_resolution.png conflict_resolution.png added
  • Subject changed from Better handling of "mid-air collision" to Better handling of issue update conflict
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next major release to 1.4.0
  • Resolution set to Fixed

Feature added in r8774. The proposed patch seems a bit overcomplicated on the controller side but the behaviour was almost preserved, with the option to apply changes anyway, like in Bugzilla.

Actions #8

Updated by Nayuta Taga almost 13 years ago

Thank you for fixing this issue. I'm looking forward to the 1.4.0 release.

Actions #9

Updated by Josh Cox over 11 years ago

Is there any reason this wasn't implemented for the wiki pages as well?

Actions #10

Updated by Jean-Baptiste Barth over 11 years ago

Josh Cox wrote:

Is there any reason this wasn't implemented for the wiki pages as well?

I don't think so, feel free to file a new feature request in a separate issue if you want (maybe look around before to see if there's not already an issue for that)

Actions #11

Updated by Toshi MARUYAMA over 11 years ago

Jean-Baptiste Barth wrote:

Josh Cox wrote:

Is there any reason this wasn't implemented for the wiki pages as well?

I don't think so, feel free to file a new feature request in a separate issue if you want (maybe look around before to see if there's not already an issue for that)

For The Record: new issue #13999.

Actions

Also available in: Atom PDF