Homec4science

Fix some transaction issues when retitling projects

Authored by epriestley <git@epriestley.com> on Jul 10 2014, 19:18.

Description

Fix some transaction issues when retitling projects

Summary:
Fixes T5530.

  • We currently fail if you rename a project so it has the same slug (e.g., "Example" -> "ExAmPlE").
  • We currently fail if you rename a project so one of its secondary hashtags becomes the primary hashtag.

Instead, succeed in these cases.

Test Plan: Successfully performed the renames described above.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5458, T5530

Differential Revision: https://secure.phabricator.com/D9829

Details

Committed
epriestley <git@epriestley.com>Jul 10 2014, 19:18
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe46826ad364d: Introduce CAN_EDIT for ExternalAccount, and make CAN_VIEW more liberal
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3d804bf14d5d: Fix some transaction issues when retitling projects (authored by epriestley <git@epriestley.com>).Jul 10 2014, 19:18