Page MenuHomePhabricator

Undefined variable: message when trying to move a phriction page to a lower level
Closed, DuplicatePublic

Description

trying to move a phriction page from /w/dev-tools/misc_playbook/ to /w/dev-tools/playbooks/misc_playbook/.

I am receiving the error message every time (I tried 3-4 times).

I did not receive this error moving the same page in the other direction.

Event Timeline

angie raised the priority of this task from to Needs Triage.
angie updated the task description. (Show Details)
angie added a project: Restricted Project.
angie added subscribers: jhurwitz, angie.

I can't reproduce this as stated. Can we get the full steps to repro and a copy of the error message?

  1. Visit .../w/dev-prod/misc_playbook/
  2. Choose 'Actions' from upper right
  3. Choose 'Move document'
  4. Change new path to 'dev-prod/playbooks/misc_playbook/'
  5. Click 'Move Document' button

Here's what I get:

undefined_variable.png (178×667 px, 19 KB)

Do you have a stack trace in the Apache/nginx error.log (/var/log/apache2/error.log or /var/log/nginx/error.log or something similar, often, depending on configuration)?

[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170] [2015-06-29 10:30:03] EXCEPTION: (RuntimeException) Undefined variable: message at [<phutil>/src/error/PhutilErrorHandler.php:210]
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170] arcanist(head=master, ref.master=7d15b85a1bc0), phabricator(head=master, ref.master=ee8de4a9ec55), phutil(head=master, ref.master=92882eb9404d), pytest-phabricator(head=master, ref.master=cb172dbc25ac)
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170]   #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/applications/phriction/editor/PhrictionTransactionEditor.php:593]
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170]   #1 <#2> PhrictionTransactionEditor::validateTransaction(PhrictionDocument, string, array) called at [<phabricator>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:746]
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170]   #2 <#2> PhabricatorApplicationTransactionEditor::applyTransactions(PhrictionDocument, array) called at [<phabricator>/src/applications/phriction/controller/PhrictionMoveController.php:72]
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170]   #3 <#2> PhrictionMoveController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:226]
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170]   #4 phlog(RuntimeException) called at [<phabricator>/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php:229]
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170]   #5 AphrontDefaultApplicationConfiguration::handleException(RuntimeException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:230]
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170]   #6 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:140]
[Mon Jun 29 10:30:03 2015] [error] [client 172.16.20.170]   #7 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:21]
jhurwitz moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 15 2015, 9:29 PM