silverstripe / silverstripe-campaign-admin

Campaign and publishing admin interface for Silverstripe
BSD 3-Clause "New" or "Revised" License
2 stars 16 forks source link

BUG No error message when adding a duplicate campaign on Add to campaign modal #57

Closed phalkunz closed 6 years ago

phalkunz commented 7 years ago

Steps to reproduce:

  1. Create a campaign called "New"
  2. Go to Pages section
  3. Select Home page
  4. Bring up Add To Campaign modal
  5. Select Add to a new campaign checkbox
  6. Enter "New" in Create a new campaign text field
  7. Click Add button
  8. Observe that the modal stays home and there's an error ("Uncaught (in promise) Error: Internal Server Error") in the browser console

Pull request:

tractorcow commented 6 years ago

Fixed with https://github.com/silverstripe/silverstripe-campaign-admin/pull/79