Page MenuHomePhabricator

Exception when moving wiki document
Closed, ResolvedPublic

Description

When trying to move a document to the parent folder, I have the exception :

[Wed Dec 03 13:55:27.177507 2014] [:error] [pid 3474] [client 80.15.1.178:57555] PHP Fatal error:  Uncaught exception 'Exception' with message 'Process exited with an open transaction! The transaction will be implicitly rolled back. Calls to openTransaction() must always be paired with a call to saveTransaction() or killTransaction().' in /home/phabricator/libphutil/src/aphront/storage/connection/AphrontDatabaseTransactionState.php:69\nStack trace:\n#0 [internal function]: AphrontDatabaseTransactionState->__destruct()\n#1 {main}\n  thrown in /home/phabricator/libphutil/src/aphront/storage/connection/AphrontDatabaseTransactionState.php on line 69

Event Timeline

magnetik raised the priority of this task from to Needs Triage.
magnetik updated the task description. (Show Details)
magnetik added a subscriber: magnetik.

Usually, the message which appears before this one in the log is more diagnostically useful. Is there a previous error?

Nope nothing before in apache error log.

I haven't been able to reproduce anything. Does it happen consistently on your install?

btrahan added a subscriber: btrahan.

I also can't reproduce. I made this structure

/w/
/w/page/
/w/page/page/

if I try to move /w/page/page/ to /w/page/ I get an error message about how I can't move the page since the page exists already.

The file is : /w/memo/aws/stacks/Stacks
Trying to move to: /w/aws/stacks/

Nothing in the hierarchy "/w/aws/stacks/Stacks" exists already.

BUT, moving the document to /w/stacks/ does work

I think this is related to T6651 in that this operation doesn't behave nicely if there's no hierarchy already.