8

Attempting to migrate a question on StackOverflow fails, at the moment.

lolwut?

Example: https://stackoverflow.com/questions/5794913

Cannot migrate via Close as Off Topic, or Migrate to Any Site.

2
  • Same here. Only migration votes seem to be affected.
    – mmyers
    Apr 26, 2011 at 22:18
  • 1
    Actual error: An attempt has been made to Attach or Add an entity that is not new, perhaps having been loaded from another DataContext. This is not supported.
    – mmyers
    Apr 26, 2011 at 22:32

1 Answer 1

7

Boy is this a circuitous one.

Recently, we started auto-awarding association bonuses. No longer will you have to disassociate/re-associate to gain a bonus, you'll get it once one account in the network passes 200 rep.

... except that when you crossed that boundary (<200 to >= 200) due to a migration things get funky*. For now, I've disabled the auto bit of association bonuses.

It'll be re-enabled once this rare case is actually fixed, probably later tonight. I've also cleaned up the single affected post.

The automatic bonus code has been fixed, and will go out with our next deploy. Took a little longer than I'd hoped, because testing migrations is a pain; even more so when dealing with associated user accounts.

*Users from different DB contexts sitting next to each other makes things a bit funky, as a lot of our code assumes any given user is from the "Current" site/DB.

You must log in to answer this question.