Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.2
-
Fix Version/s: 1.1.1
-
Component/s: Web Interface
-
Labels:None
-
Number of attachments :
Description
Invalid Cron Expressions are still accepted in Database - Unprocessed Artifacts Scanning
I entered "asdf" in Cron and clicked on the Update Cron button; invalid value was accepted.
This patch checks for blank field and for a valid cron expression.
Used custom field validator to wrap org.codehaus.plexus.scheduler.CronExpressionValidator.
The diff is on project level (archiva-webapp). Not sure if this is the standard.