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 1629060 - Content view export with --since option does not work as expected.
Summary: Content view export with --since option does not work as expected.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.3.2
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-14 18:43 UTC by Raviraj Lavande
Modified: 2021-12-10 17:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-18 17:54:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Raviraj Lavande 2018-09-14 18:43:18 UTC
Description of problem:

Content view export with "--since" option does not work as expected, It copies everything after every export. Ideally, it should copy/get only data which is uploaded after the date mentioned with the "--since" option while exporting the content view.
 
Version-Release number of selected component (if applicable):

Red Hat Satellite 6.3.2

How reproducible:

Always

Steps to Reproduce:

1. Create a product with 1 rpm.
2. Create a new content view and add this^^ product in ti and re-publish the content view.
3. Export the content view export will have one rpm here.
4. Add one more rpm in the product. and re-publish the content view.
5. export the content view again it will export both rpm's. 

Note:- both rpms have been added in the product and content view on the different dates.   

Actual results:

 Export contains everything and --since option does not work.

Expected results:

Export should contain only the data which have been added after the date mentioned with the "--since" option.

Additional info:
 reproduced thrice and got the same results every time.

Exported the content view using the following command

hammer> content-view version export --id 5 --since 2018-09-13T05:00:00

Comment 1 Rich Jerrido 2018-09-18 17:54:58 UTC
Content view versions are point in time snapshots and don't have the concept of '--since'. This is why you are seeing this behavior.

The only 'content view' that supports --since is the 'default organization view'


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