Project

General

Profile

Actions

Bug #25232

closed

CV History: Incorrect API call due to parsing error (page=NaN)

Added by Mirek Długosz about 6 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Content view History tab sends following API request:
/katello/api/v2/content_views/4/history?organization_id=1&page=NaN&paged=true&per_page=20&search=&sort_by=created_at&sort_order=DESC

This is currently shadowed by issue #25231, but once it is fixed, we will see UI complaining about invalid value for Integer(): "NaN".

Katello git commit id: 77a4d76db2d1524f152281a78ef8d17f4fdfa646
Foreman git commit id: 9ccfbde5c417ed466b21c997d01d4608cc4e8c57

Steps to reproduce:
1. Create new content view
2. Open this content view and navigate to History tab

Expected results:
There is no error notification; history data is displayed in table (if there is any history to display).


Related issues 1 (0 open1 closed)

Related to Katello - Bug #25231: "the field 'created_at' in the order statement is not valid field for search" on content view history tabClosedChristine FouantActions
Actions

Also available in: Atom PDF