Page MenuHomePhabricator

Fix datepicker to show correct error messages on Calendar event edit view
ClosedPublic

Authored by lpriestley on May 1 2015, 10:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 16, 9:39 AM
Unknown Object (File)
Sun, Jan 5, 7:20 AM
Unknown Object (File)
Sat, Jan 4, 4:04 PM
Unknown Object (File)
Thu, Jan 2, 12:45 AM
Unknown Object (File)
Wed, Jan 1, 1:24 AM
Unknown Object (File)
Dec 14 2024, 12:18 PM
Unknown Object (File)
Dec 5 2024, 12:13 PM
Unknown Object (File)
Dec 5 2024, 2:30 AM
Subscribers

Details

Summary

Ref T8024, Fix datepicker to show correct error messages on Calendar event edit view.

Test Plan

Edit Calendar event, set blank title, and valid new end time, error page should correctly point out invalid title, but reflec the updated time.

Diff Detail

Repository
rP Phabricator
Branch
calendareventdatepicker
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 5660
Build 5679: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

lpriestley retitled this revision from to Fix datepicker to show correct error messages on Calendar event edit view.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
73–74

No longer used.

163–171

Consider:

$value = $ex->getShortMessage(
  $param);
This revision is now accepted and ready to land.May 1 2015, 10:40 PM
This revision was automatically updated to reflect the committed changes.