Page MenuHomePhabricator

Calendar create form loses information on error
Closed, ResolvedPublic

Description

Reproduction steps:

  • Click "Create Event" in Calendar.
  • Fill in name, description, policies, etc.
  • Set an invalid time for one of the dates, like the meaningless string "Tea Time".
  • Click "Create" to save the event.

Screen Shot 2015-05-01 at 7.03.52 AM.png (1×2 px, 402 KB)

Expected result:

  • Form reloads with an error message about the specific mistake.
  • All values are preserved verbatim.

Actual result:

  • Form reloads with an error message about the specific mistake.
  • Most form values are destroyed.

Screen Shot 2015-05-01 at 7.04.40 AM.png (1×2 px, 387 KB)

Revisions and Commits

Restricted Differential Revision

Event Timeline

epriestley assigned this task to lpriestley.
epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added a project: Calendar.
epriestley added a subscriber: epriestley.
lpriestley added a revision: Restricted Differential Revision.May 1 2015, 3:54 PM
lpriestley closed this task as Resolved by committing Restricted Diffusion Commit.May 1 2015, 4:11 PM
lpriestley added a commit: Restricted Diffusion Commit.