PRX / publish.prx.org

Dovetail podcast CMS frontend
https://publish.prx.org
GNU Affero General Public License v3.0
2 stars 2 forks source link

iTunes episode type required, but not validated or defaulted in publish when saving a new episode #734

Closed kookster closed 3 years ago

kookster commented 3 years ago

Reproduce -

  1. Create a new episode, set title, teaser, description
  2. Click on podcast info, set author name and email
  3. Hit Save

You'll get a box pop up with a 500 saving a PUT to feeder episode update, with this exception: ActiveRecord::RecordInvalid: Validation failed: ITunes type is not included in the list

cavis commented 3 years ago

Add the REQUIRED() validator to the model.