Hide Forgot
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[5].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 b74b19b072fcd336b717864e38e577b3e6792863 refs/heads/master
Created attachment 815914 [details] atomFeedBug.xml
For whomever picks this up it looks like a missing entry in the map in EventAdapterImpl, used in addMessageText.
https://github.com/candlepin/candlepin/pull/416
commit cd4921e729a04b60f10296277105f6d045221953 Author: Bryan Kearney <bkearney> 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 mmccune with any questions
Moving to closed per the updated candlepin process for bugs that have been merged or have been taken care of.