Bug #32320
closed"Current organization has no manifest imported" error when trying to import a manifest
Description
In a fresh org after performing a rake katello:reset, I tried to import a manifest from one of my old manifest files.
Actual behavior:
1. The task succeeded in about 3 seconds
2. I received a toast error notification "Current organization has no manifest imported"
3. If I look at the manifest import task's Dynflow console, in the Actions::Candlepin::Owner::Import (success) sub-action, I see the following:
state: FAILED previousState: RUNNING startTime: '2021-04-14T21:57:27+0000' endTime: '2021-04-14T21:57:27+0000' attempts: 1 maxAttempts: 1 statusPath: "/jobs/4028faf478d221d40178d2639c98359e" resultData: 'Import is older than existing data The following conflicts were found: [ MANIFEST_OLD ]'
I think this may be related to the recent change to the async manifest import API. We used to surface this error ('Import is older than existing data') directly to the user, but now it's buried.
Expected behavior: The above error should cause a failed import task and inform the user.
Updated by Samir Jha over 3 years ago
- Target version set to Katello 4.1.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9378 added
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases Katello 4.2.0 added
Updated by Partha Aji over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|d05262e60203bcb7f8e3577481c6449ee50ed5e2.