Bug 1328768

Summary: Preventing of creating a customer case without reproducing knowledge doesn't work
Product: Red Hat Enterprise Linux 6 Reporter: Matej Habrnal <mhabrnal>
Component: libreportAssignee: Matej Habrnal <mhabrnal>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.9CC: jkurik, mkutlak, mkyral, nobody+abrt-devel-list, tbowling
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libreport-2.0.9-34.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-19 05:17:06 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: 1518652    

Description Matej Habrnal 2016-04-20 09:12:26 UTC
Description of problem:
ABRT should prevent creating of a new customer case by asking the users, if users don't have an ability to reproduce the problem and crash occurred only ones. 

The feature doesn't work because reporter tries to read 'count' element from problem data and the element is not there because it's listed in excluded element list.

How reproducible:
Always

Steps to Reproduce:
1. report a problem which occurred only once ('count' element contains 1)
2. choose "I have experienced this problem for the first time" in reproducible part
3. create a customer case

Additional info:
Patch:
diff --git a/src/plugins/report_RHTSupport.xml.in b/src/plugins/report_RHTSupport.xml.in
index 0f19f13..a158e01 100644
--- a/src/plugins/report_RHTSupport.xml.in
+++ b/src/plugins/report_RHTSupport.xml.in
@@ -5,7 +5,7 @@
 
     <requires-items>package</requires-items>
     <requires-details>yes</requires-details>
-    <exclude-items-by-default>count,event_log,vmcore</exclude-items-by-default>
+    <exclude-items-by-default>event_log,vmcore</exclude-items-by-default>
     <exclude-items-always></exclude-items-always>
     <exclude-binary-items>no</exclude-binary-items>
     <include-items-by-default></include-items-by-default>

Comment 7 errata-xmlrpc 2018-06-19 05:17:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1892