Project

General

Profile

action #64830

Updated by okurz over 3 years ago

## Motivation 

 http://open.qa/docs/#_cleanup correctly mentions "NOTE Deletion of job results includes deletion of logs and will cause the job to be completely removed from the database." but for example in #64824 we see job groups which have values for "keep_logs_in_days" which are higher than "keep_results_in_days". Would it make sense to prevent this to make it explicit to users that logs will *not* be kept as long as they selected? 

 ## Acceptance criteria 
 * **AC1:** prevent `keep_logs_in_days` being higher than `keep_results_in_days` in UI 


 ## Suggestions 
 * Try to limit in internal controller method throwing error that is displayed in UI. If not feasible then handle in API or even just in UI

Back