You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Rohan Verma <ro...@gmail.com> on 2016/07/13 20:51:03 UTC

[allura:tickets] Re: #8092 REST API for User Activity does not work due to missing attribute

Testing Reply to closed tickets and mr


On 06/21/2016 10:59 PM, Rohan Verma wrote:
>
>   * *status*: open --> review
>
> ------------------------------------------------------------------------
>
> *[tickets:#8092] 
> <https://forge-allura.apache.org/p/allura/tickets/8092/> REST API for 
> User Activity does not work due to missing attribute*
>
> *Status:* review
> *Milestone:* unreleased
> *Labels:* api
> *Created:* Mon Jun 20, 2016 12:32 PM UTC by Rohan Verma
> *Last Updated:* Tue Jun 21, 2016 03:35 PM UTC
> *Owner:* Rohan Verma
>
> Eg. https://forge-allura.apache.org/rest/u/brondsem/activity returns 500
>
> This is due to line 227 since shortname attribute is not set for 
> Profile tool. What should I do to solve it?
>
> I'm not sure what needs to be done.
>
>   'following':  data['following'],
>                     'followee':  {
>                         'activity_name':  data['followee'].shortname,
>                         'activity_url':  data['followee'].url(),
>                         'activity_extras':  {},
> ------------------------------------------------------------------------
>
> Sent from forge-allura.apache.org because you indicated interest in 
> https://forge-allura.apache.org/p/allura/tickets/8092/
>
> To unsubscribe from further messages, please visit 
> https://forge-allura.apache.org/auth/subscriptions/
>




---

** [tickets:#8092] REST API for User Activity does not work due to missing attribute**

**Status:** closed
**Milestone:** unreleased
**Labels:** api 
**Created:** Mon Jun 20, 2016 12:32 PM UTC by Rohan Verma
**Last Updated:** Mon Jul 11, 2016 03:10 PM UTC
**Owner:** Rohan Verma


Eg. https://forge-allura.apache.org/rest/u/brondsem/activity returns 500

This is due to line 227 since shortname attribute is not set for Profile tool. What should I do to solve it?

I'm not sure what needs to be done.

~~~
 'following': data['following'],
                   'followee': {
                       'activity_name': data['followee'].shortname,
                       'activity_url': data['followee'].url(),
                       'activity_extras': {},
~~~


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.