2012-01-16 11:14:23 |
Michael Nelson |
bug |
|
|
added bug |
2012-01-16 15:20:23 |
Michael Nelson |
description |
When requesting a users subscriptions via the 2.0 api, sca does not include application.channel or application.categories in the response. From softwarecenteragent.models.Subscription.as_serializable:
{{{
def as_serializable(self):
"""Turn this object into something simplejson can serialize."""
atts = {
'open_id': self.open_id,
...
'application': self.application.as_serializable(include=[
'name', 'archive_id', 'description', 'package_name',
'signing_key_id', 'distro_arch_series_dict']),
...
}
...
}}}
Note: just documenting this issue for an XXX in the USC code to remove the work-around. |
When requesting a users subscriptions via the 2.0 api, sca does not include application.channel or application.categories in the response. From softwarecenteragent.models.Subscription.as_serializable:
{{{
def as_serializable(self):
"""Turn this object into something simplejson can serialize."""
atts = {
'open_id': self.open_id,
...
'application': self.application.as_serializable(include=[
'name', 'archive_id', 'description', 'package_name',
'signing_key_id', 'distro_arch_series_dict']),
...
}
...
}}}
Note: just documenting this issue for an XXX in the USC code to remove the work-around.
Other attributes that we may want: price |
|
2012-01-17 10:29:29 |
Michael Nelson |
tags |
trivial |
client-server trivial |
|
2012-01-18 08:45:18 |
Michael Nelson |
description |
When requesting a users subscriptions via the 2.0 api, sca does not include application.channel or application.categories in the response. From softwarecenteragent.models.Subscription.as_serializable:
{{{
def as_serializable(self):
"""Turn this object into something simplejson can serialize."""
atts = {
'open_id': self.open_id,
...
'application': self.application.as_serializable(include=[
'name', 'archive_id', 'description', 'package_name',
'signing_key_id', 'distro_arch_series_dict']),
...
}
...
}}}
Note: just documenting this issue for an XXX in the USC code to remove the work-around.
Other attributes that we may want: price |
When requesting a users subscriptions via the 2.0 api, sca does not include application.channel or application.categories in the response. From softwarecenteragent.models.Subscription.as_serializable:
{{{
def as_serializable(self):
"""Turn this object into something simplejson can serialize."""
atts = {
'open_id': self.open_id,
...
'application': self.application.as_serializable(include=[
'name', 'archive_id', 'description', 'package_name',
'signing_key_id', 'distro_arch_series_dict']),
...
}
...
}}}
Note: just documenting this issue for an XXX in the USC code to remove the work-around.
Also, if we include a different Application.channel for my subscriptions (available apps uses "For Purchase"), then the client will no-longer need the "MAGIC_CHANNEL_NAME"s. |
|
2012-01-19 08:48:15 |
Michael Nelson |
developer-portal: assignee |
|
Michael Nelson (michael.nelson) |
|
2012-01-19 08:48:18 |
Michael Nelson |
developer-portal: status |
Confirmed |
Fix Committed |
|
2012-03-14 14:36:39 |
Michael Nelson |
developer-portal: status |
Fix Committed |
Fix Released |
|