Map<String,String> crawlFrequencies = Const.CrawlFrequency.options();
Map<String,String> siteStatuses = Const.SiteStatus.options();
Map<String,String> organisations = Organisation.options();
return ok(edit.render(filledForm, user, null, collectionData, subjectData, authors, tags, flags, qaIssues, languages, selectionTypes, scopeTypes, depthTypes, licenses, licenseStatuses, crawlFrequencies, siteStatuses, organisations, null, null, null, null));
}
<BUG>public static Result edit(Long id) {
Target target = Target.findById(id);
Logger.debug("Targets.edit() id::::: " + id);
target.runChecks();</BUG>
target.update();

Map<String,String> crawlFrequencies = Const.CrawlFrequency.options();
Map<String,String> siteStatuses = Const.SiteStatus.options();
Map<String,String> organisations = Organisation.options();
return ok(edit.render(filledForm, user, null, collectionData, subjectData, authors, tags, flags, qaIssues, languages, selectionTypes, scopeTypes, depthTypes, licenses, licenseStatuses, crawlFrequencies, siteStatuses, organisations, null, null, null, null));
}
public static Result edit(Long id) {
Logger.debug("Targets.edit() id::::: " + id);
Target target = Target.findById(id);
if (target == null) return notFound("There is no Target with ID " + id);
target.runChecks();
target.update();
