Bug 851040 - Empty quartz format schedule for repository sync will make schedule unusable.
Summary: Empty quartz format schedule for repository sync will make schedule unusable.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 1.7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space18
TreeView+ depends on / blocked
 
Reported: 2012-08-23 06:56 UTC by Gerald Vogt
Modified: 2012-11-01 16:20 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-01 16:20:09 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.