Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: Content view export with --since option does not work as expected.
Product: Red Hat Satellite Reporter: Raviraj Lavande <rlavande>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.2CC: rjerrido
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-18 17:54:58 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:

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'