Red Hat Bugzilla – Bug 1023187
Encountered an atom feed entry with an unknown event
Last modified: 2016-07-22 10:39:35 EDT
Description of problem:
I have an automated EventsTests that includes an assertion loop that looks at the xml returned from an atom feed. If one of the entries contains a description with an "Unknown event" substring, then the test throws a failure. I'm not exactly sure what circustances are causing the event, nevertheless here are some sketchy details...
Encountered an atom feed entry with an unknown event: Event Feed entries.getTitle()=RULES MODIFIED .getDescription()=Unknown event for user admin and target 4.4
curl -k -u admin:admin https://jsefler-f14-candlepin.usersys.redhat.com:8443/candlepin/atom > atomFeedBug.xml
Attached is the atomFeedBug.xml that contains the offending "Unknown event" description.
Version-Release number of selected component (if applicable):
[root@jsefler-f14-candlepin candlepin]# git show-ref | grep master
Created attachment 815914 [details]
For whomever picks this up it looks like a missing entry in the map in EventAdapterImpl, used in addMessageText.
Author: Bryan Kearney <email@example.com>
Date: Fri Oct 25 13:22:18 2013 -0400
1023187: Events for Rules addition and delete were missing event string.
This resulted in messages in the atom feed such as
<messageText>Unknown event for user admin and target 4.4</messageText>
New strings were addded, and the correct text is shown.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see firstname.lastname@example.org with any questions
Moving to closed per the updated candlepin process for bugs that have been merged or have been taken care of.