Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 851040

Summary: Empty quartz format schedule for repository sync will make schedule unusable.
Product: [Community] Spacewalk Reporter: Gerald Vogt <vogt>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.7   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-01 16:20:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 871344    

Description Gerald Vogt 2012-08-23 06:56:38 UTC
Description of problem:
If you enter nothing for the "Custom Quartz format" it blocks the whole channel schedule for any further changes.

Version-Release number of selected component (if applicable):

How reproducible:

Always.

Steps to Reproduce:
1. Channels - Manage Software Channels - (click on channel, e.g. testtest) - Repositories - Sync
2. Choose radio button "Custom Quartz format"
3. Don't enter anything into the text field!
4. Press "Schedule" button.
5. Server reports "Repository sync scheduled for testtest.".
6. Now try to change/set any schedule for the channel, e.g. pick daily at 0:00. 
7. Server always reports "Invalid schedule entry: 0 0 0 ? * *"
  
Actual results:
It's impossible to set a schedule.

Expected results:
It should be possible to set up a schedule.

Additional info:
/var/log/rhn/rhn_taskomatic_daemon.log
INFO   | jvm 1    | 2012/08/23 08:52:15 | Aug 23, 2012 8:52:15 AM redstone.xmlrpc.XmlRpcDispatcher writeError
INFO   | jvm 1    | 2012/08/23 08:52:15 | WARNING: com.redhat.rhn.taskomatic.InvalidParamException: jobLabel already in use

Comment 1 Tomas Lestach 2012-08-23 15:55:05 UTC
I saw the issue only once, then I wasn't able to reproduce it any more.
Detecting empty quartz cron expression ...

spacewalk.git: 24e8a9dd5dab5913c82565ddd2c66deda51716ad

Comment 2 Tomas Lestach 2012-08-23 16:30:08 UTC
checkstyle issue ...

spacwalk.git: 45c659fc45f51c8cf464a1419851fa86e76e6291

Comment 3 Jan Pazdziora (Red Hat) 2012-10-30 19:24:45 UTC
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/

Comment 4 Jan Pazdziora (Red Hat) 2012-11-01 16:20:09 UTC
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18