Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1926100 - undefined local variable or method `foreman_inventory_upload_index_path' error while trying to download report.
Summary: undefined local variable or method `foreman_inventory_upload_index_path' erro...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Inventory
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.0
Assignee: Shimon Shtein
QA Contact: Jameer Pathan
URL:
Whiteboard:
: 1936834 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-08 08:29 UTC by Jameer Pathan
Modified: 2024-10-01 17:26 UTC (History)
3 users (show)

Fixed In Version: 3.0.17
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:10:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of issue (31.98 KB, image/png)
2021-02-08 08:35 UTC, Jameer Pathan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:10:57 UTC

Description Jameer Pathan 2021-02-08 08:29:50 UTC
Description of problem:
undefined local variable or method `foreman_inventory_upload_index_path' error while trying to download report.

Version-Release number of selected component (if applicable):
- Satellite 6.9.0 snap 12
- tfm-rubygem-foreman_rh_cloud-3.0.14-1.el7sat.noarch


How reproducible:
- Always

Steps to Reproduce:
1. Go to Configure > Inventory upload
2. Expand organization section on that page.
3. Go to uploading tab and click on Download report button.

Actual results:
- Page breaks with following error:

Oops, we're sorry but something went wrong undefined local variable or method `foreman_inventory_upload_index_path' for #<ForemanInventoryUpload::UploadsController:0x0000000024d48338> Did you mean? foreman_inventory_upload_path foreman_inventory_upload_tasks_path foreman_inventory_upload_accounts_path foreman_inventory_upload_tasks_url

Expected results:
- Valid warning/error message should be displayed.

Additional info:

Comment 1 Jameer Pathan 2021-02-08 08:35:47 UTC
Created attachment 1755653 [details]
screenshot of issue

Comment 3 Brad Buckingham 2021-02-08 15:35:04 UTC
Is this a regression?

Comment 6 Jameer Pathan 2021-03-09 10:32:09 UTC
*** Bug 1936834 has been marked as a duplicate of this bug. ***

Comment 7 Jameer Pathan 2021-03-09 11:03:54 UTC
Verified

Verified with:
- Satellite 6.9.0 snap 16
- tfm-rubygem-foreman_rh_cloud-3.0.17-1.el7sat.noarch

Test steps:
1. Go to Configure > Inventory upload
2. Expand organization section on that page.
3. Go to uploading tab and click on Download report button.

Observations:
Opens new tab and shows "The report file doesn't exist" error message.

Comment 10 errata-xmlrpc 2021-04-21 13:10:31 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 (Moderate: Satellite 6.9 Release), 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/RHSA-2021:1313


Note You need to log in before you can comment on or make changes to this bug.