jnraine / munkiserver

Visit https://github.com/munkiserver/munkiserver for active development — this repository is no longer maintained
85 stars 27 forks source link

display_name constraints in package_branch.rb causes conflicts #107

Open dayglojesus opened 12 years ago

dayglojesus commented 12 years ago

Uploading a pkg that shares a display_name attrib with a package in another branch, causes a conflict:

* ERROR * 1 error prohibited this package from being saved There were problems with the following fields: Package branch display name has already been taken

* EXAMPLE * Branch A, Name: Silverlight

Branch B, Name: Microsoft_Silverlight

Upload a New Package: Silverlight.dmg

Upon upload, the package will produce an error because the constraints in package_branch.rb demand that all display_name attributes be unique across all branches. The conflicting display_name in the two different branches is not allowed.

The display_name attribute should be arbitrary.