Hide Forgot
Description of problem: Webservice of bug.get method could list dependent_products without specified in the include_fields argument. But in the documentation https://bz-web.host.qe.eng.pek2.redhat.com/docs/en/html/integrating/api/Bugzilla/WebService/Bug.html It said: dependent_products array-of-strings The names of the products that this bug affects. This value must be specified in the include_fields or extra_fields argument. This is a Red Hat customization Version-Release number of selected component (if applicable): 5.0.3-rh9 How reproducible: 100% Steps to Reproduce: 1.Execute below xmlrpc method: Bug.get({'ids': [1285446], 'Bugzilla_login': 'qgong', 'Bugzilla_password': '****'}) 2. 3. Actual results: ==>the result contains 'dependent_products': ['Bugzilla'] Expected results: Please update the documentation or update this method. Additional info:
This seems to be true for any usage of the filter_wants function. All our fields that are optional are being unconditionally returned
Try to execute xmlrpc of Bug.get with extra_fields set like below: {'login':'${Login_Redhat}','password':'${Password_All}','ids':['bne-${Random1}'], 'extra_fields':['dependent_products']} ==>The return doesn't contain the value of dependent_products
Tested on QA environment(5.0.3-rh12) Result: Pass