Skip to content

Conversation

@jtluka
Copy link
Contributor

@jtluka jtluka commented Aug 15, 2017

All these issues found while doing:

report = perf_api.report_get_by_id(report)
old_xml = report.to_xml()
new_report = PerfRepoReport(old_xml)

The report must contain some permissions.

jtluka added 4 commits August 15, 2017 16:03
When a report does not contain any permissions the object constructor fails
with an exception.

Signed-off-by: Jan Tluka <jtluka@redhat.com>
Signed-off-by: Jan Tluka <jtluka@redhat.com>
Signed-off-by: Jan Tluka <jtluka@redhat.com>
…output

Signed-off-by: Jan Tluka <jtluka@redhat.com>
@olichtne
Copy link
Owner

olichtne commented Dec 8, 2017

This needs to be re-thought and reworked because Report permissions are serialized into XMLs with different schema depending on whether they're being sent to PerfRepo to attach to a report and when they're received from PerfRepo along with report data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants