nicolaayan / EpiserverCmsAudit

MIT License
9 stars 20 forks source link

Added validation to content type id. Issue #18 #23

Open vigneshwarks opened 2 years ago

vigneshwarks commented 2 years ago

In all three tabs (Page Types, Block Types and Visitor Group) first API call is made with a content type id "undefined". Subsequent calls are made and rendered as expected. But when a solution is set up with custom error page, then the first call with undefined will result in "500 error page".

To overcome this, validated the content type id.