Project

General

Profile

Actions

Defect #1105

closed

ActiveRecord::StaleObjectError exception generated on duplicate issues

Added by Daniel Stine over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
Start date:
2008-04-25
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

As documented in the forum...
http://www.redmine.org/boards/2/topics/show/512

I have three issues eg. A,B and C that are all reporting the same bug.

Issues A and B were entered first and related as duplicates of each other.
Despite being documented in the FAQ, it was non-intuitive that changing the state of one of these also changed the state of it's duplicate.

There might have been intervening state changes to any of the three issues.

Later, C was added and related as a duplicate of both A and B.

Attempting to change the state of this third duplicate (triplicate?) caused a StaleObject exception.

This is rails 2.0.2 running on Windows XP (SP2), SQLite backend, mongrel server, private intranet.

Actions #1

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Resolved
  • Resolution set to Fixed

I can't reproduce with latest code.
I think this problem was fixed by r1162.

Actions #2

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from Resolved to New
  • Resolution deleted (Fixed)

I can reproduce indeed.

Actions #3

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from New to Closed
  • Target version set to 0.7
  • Resolution set to Fixed

Fixed in r1360.

Actions

Also available in: Atom PDF