Project

Profile

Help

Issue #1865

closed

Error searching rpm repositories by fields using dot notation

Added by alanoe about 8 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.2
Platform Release:
OS:
RHEL 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

when I run 'pulp-admin rpm repo search --fields notes.A' , I get the following error:
Invalid properties: ['Field: <notes.A> does not exist on objects in the <repos> collection']

I'm sure that the attribute A exists in notes dict.
This is confirmed by a find() command with the same query in the mongo shell:

$ use pulp_database
$ db.repos.find({}, {'notes.A': 1})

This pulp-admin command works with pulp/pulp-admin 2.5.3 and MongoDB 2.4.9 installed on RHEL 6.

Also available in: Atom PDF