Server Crash when Viewing Role in UI with Dependency Mismatch #1652
Labels
Aspect: Integration
Works correctly with other projects or systems.
Component: chef-manage
Triage: Try Reproducing
Indicates that this issue needs to be reproduced.
Type: Bug
Does not work as expected.
Chef Server Version
12.4.1
Platform Details
Running on Ubuntu 16.04 on AWS
Scenario:
Viewing a role via the web UI causes the chef server to crash if the role contains a version mismatch.
i.e. If I try and view role
my-role
, which containscookbook1@1.0.0
andcookbook2@1.0.0
, butcookbook1@1.0.0
itself requirescookbook2@2.0.0
then the server will crash trying to display this information.I know this may be down to how we use Chef, and obviously the version mismatch is our fault and we have since fixed this, but I feel like the server shouldn't completely fail in this situation, and should instead just show an error in the UI.
The text was updated successfully, but these errors were encountered: