Bug 1021558
Summary: | Spacewalk fails to generate DEB repository error on "setBuildTime" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Martin Juhl <m> | ||||||
Component: | Server | Assignee: | Michael Mráka <mmraka> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 2.0 | CC: | goetz.dirk, m | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | spacewalk-java-2.2.12-1 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-07-17 08:40:45 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: | 1119298 | ||||||||
Attachments: |
|
Description
Martin Juhl
2013-10-21 14:00:11 UTC
Created attachment 831605 [details]
Solves problem, but maybe not the right way??
I have discovered that the reason for the failure is that the setBuildTime() function is called with an argument "buildTimeIn=NULL"..
The attached patch handles this exception, even though I'm not sure that's the right way to fix the problem..
Any comments on this patch??? Is it something we can get implemented??? I am running in the same problem. I have created a rhn.jar with the patch applied and it works, but there is no date for last repo build and no information on repo cache status shown. Perhaps this is the result from building the jar by unpacking, compiling the class file and repacking. But I have not got a good setup working. Fixed in spacewalk master by commit 47e451d0c39986766b63e29e56236df27aeb4b41 1021558 - if buildTime is null don't parse it Spacewalk 2.2 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes22 |