AzuraCast / AzuraCast

A self-hosted web radio management suite, including turnkey installer tools for the full radio software stack and a modern, easy-to-use web app to manage your stations.
https://www.azuracast.com/
GNU Affero General Public License v3.0
3.02k stars 562 forks source link

Unable to clone stations #1094

Closed andrewbritton closed 5 years ago

andrewbritton commented 5 years ago

AzuraCast • v0.9.1, #5680f47 (2019-01-06 12:05) • Traditional • PHP 7.2 Ubuntu 18.04

Cloning station results in 500 error (Screenshot also attached)

500 Argument 1 passed to App\Entity\Station::setNowplaying() must be an instance of App\Entity\Api\NowPlaying or null, array given, called in /var/azuracast/www/vendor/azuracast/azuracore/src/Doctrine/Repository.php on line 406 Station.php : 654

screen shot 2019-01-08 at 12 38 59

BusterNeece commented 5 years ago

@andrewbritton This should be fixed as of the latest commit, which better ensures that fields that shouldn't copy from station to station don't make it over in the cloning process.