Page MenuHomePhabricator

Column Name is Required exception when trying to hide a Milestone Column
Closed, ResolvedPublic

Description

In a project work board, I am trying to hide a column of an archived sprint via the drop down menu of the sprints board. I then receive an exception:

Unhandled Exception ("PhabricatorApplicationTransactionValidationException")	
Validation errors:
  - Column name is required.

The stack trace found in Apache's error.log:

[2016-02-10 01:03:40] EXCEPTION: (PhabricatorApplicationTransactionValidationException) Validation errors:\n  - Column name is required. at [<phabricator>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:800]
arcanist(head=master, ref.master=57f6fb59d739), phabricator(head=master, ref.master=aa6c99384879), phutil(head=master, ref.master=f43291e99d36)
  #0 <#2> PhabricatorApplicationTransactionEditor::applyTransactions(PhabricatorProjectColumn, array) called at [<phabricator>/src/applications/project/controller/PhabricatorProjectColumnHideController.php:73]
  #1 <#2> PhabricatorProjectColumnHideController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:237]
  #2 phlog(PhabricatorApplicationTransactionValidationException) called at [<phabricator>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:32]
  #3 PhabricatorDefaultRequestExceptionHandler::handleRequestException(AphrontRequest, PhabricatorApplicationTransactionValidationException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:632]
  #4 AphrontApplicationConfiguration::handleException(PhabricatorApplicationTransactionValidationException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:242]
  #5 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:149]
  #6 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:17]

I reactivated the Milestone thinking that may have had something to do with it, but I continue to receive the same error.

Related Objects

Event Timeline

chad renamed this task from Column Name is Required exception when trying to hide work board column to Column Name is Required exception when trying to hide a Milestone Column.Feb 10 2016, 6:16 AM
chad added a subscriber: chad.

Milestone Columns aren't hidable currently, we'll remove the option and make it disappear if the Milestone is archived.

That actually was going to be a suggestion once discussion started :-)

Cool!

chad edited projects, added Projects (v3); removed Projects.
epriestley triaged this task as Normal priority.

I think this should all work properly and consistently now, let me know if anyone finds a way to break it.