Map<String,String> crawlPermissionStatuses = CrawlPermissionStatus.options();
setupDefaultLicense(crawlPermission);
crawlPermissionForm.data().put("license_id", ""+crawlPermission.getLicense().id);
return ok(edit.render(crawlPermissionForm, user, id, crawlPermissionStatuses, null, License.options(),crawlPermission));
}
<BUG>public static Result view(Long id) {
User user = User.findByEmail(request().username());
CrawlPermission crawlPermission = CrawlPermission.findById(id);</BUG>
Logger.debug("CrawlPermissionController.view contactPerson: " + crawlPermission.contactPerson);
Logger.debug("CrawlPermissionController.view user: " + crawlPermission.user);

Map<String,String> crawlPermissionStatuses = CrawlPermissionStatus.options();
setupDefaultLicense(crawlPermission);
crawlPermissionForm.data().put("license_id", ""+crawlPermission.getLicense().id);
return ok(edit.render(crawlPermissionForm, user, id, crawlPermissionStatuses, null, License.options(),crawlPermission));
}
public static Result view(Long id) {
CrawlPermission crawlPermission = CrawlPermission.findById(id);
if (crawlPermission == null) return notFound("There is no CrawlPermission with id " + id);
User user = User.findByEmail(request().username());
Logger.debug("CrawlPermissionController.view contactPerson: " + crawlPermission.contactPerson);
Logger.debug("CrawlPermissionController.view user: " + crawlPermission.user);
