Page MenuHomeIn-Portal Phabricator

INP-1709 - Validate "Categories.FriendlyURL" field for uniqueness
ClosedPublic

Authored by alex on Jun 19 2017, 11:03 AM.

Details

Test Plan
  1. login to Admin Console
  2. go to Website & ContentStructure & Data section
  3. open any category for editing
  4. put "sample" value in "Short URL" field and save changes
  5. confirm, that no validation error happened
  6. open any other category for editing
  7. put "sample" value in "Short URL" field and save changes
  8. confirm, that saving failed due validation error on "Short URL" field
  9. put platform/topics value (this is url to another category) into "Short URL" field and save changes
  10. confirm, that saving failed due validation error on "Short URL" field

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex created this revision.Jun 19 2017, 11:03 AM
erik accepted this revision.Jun 21 2017, 9:54 AM
This revision is now accepted and ready to land.Jun 21 2017, 9:54 AM
This revision was automatically updated to reflect the committed changes.