Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Package upload issue #187

Open
mojobiri opened this issue Jul 31, 2014 · 1 comment
Open

Custom Package upload issue #187

mojobiri opened this issue Jul 31, 2014 · 1 comment
Assignees
Labels

Comments

@mojobiri
Copy link

Go to Application tab, Custom, upload package
Select file, fill out the form
Upload
Go to Custom apps listing
Observe the issue: Internal Server Error

{
"rv_status_code": 1013,
"message": "admin - os_updates Package Searching went haywire broke: No attribute vulnerability_id in object:\n{\n\t"app_id":\t"d7c8de63-aeb5-433f-b2b3-6991a1e77a7c",\n\t"arch":\t"32",\n\t"cli_options":\t"",\n\t"customers":\t["Customer"],\n\t"dependencies":\t[],\n\t"description":\t"sfsdf",\n\t"files_download_status":\t5004,\n\t"hidden":\t"no",\n\t"kb":\t"",\n\t"major_version":\t"234",\n\t"minor_version":\t"234",\n\t"name":\t"family.png",\n\t"os_code":\t"linux",\n\t"reboot_required":\t"possible",\n\t"release_date":\t{\n\t\t"$reql_type$":\t"TIME",\n\t\t"epoch_time":\t1406750400,\n\t\t"timezone":\t"+00:00"\n\t},\n\t"rv_severity":\t"Optional",\n\t"support_url":\t"",\n\t"update":\t5013,\n\t"vendor_name":\t"werwr",\n\t"vendor_severity":\t"Optional",\n\t"version":\t"234.234"\n} in:\nr.table('custom_apps_per_agent').get_all([u'available', u'Customer'], index='status_and_customer').eq_join('app_id', r.table('custom_apps')).map(lambda var_928: r.expr({'rv_severity': r.row['right']['rv_severity'], 'release_date': r.row['right']['release_date'].to_epoch_time(), 'app_id': r.row['right']['app_id'], 'version': r.row['right']['version'], 'hidden': r.row['right']['hidden'], 'vulnerability_id': r.row['right']['vulnerability_id'], 'name': r.row['right']['name']})).filter(r.expr({'hidden': 'no'})).distinct().order_by(r.asc('name')).skip(0).limit(20)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ",
"http_method": "GET",
"uri": "/api/v1/apps/custom?offset=0&count=20&status=available&severity=",
"http_status": 500
}

@linuxdynasty
Copy link

I will take a look at this.

@linuxdynasty linuxdynasty self-assigned this Jul 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants