Viewing a post from facebook opens the timeline instead of the actual post

Bug #1185684 reported by J Phani Mahesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Friends
Fix Committed
Undecided
Unassigned
friends (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:

1. Authorize facebook in online accounts
2. Open Friends-app
3. Wait for a story update from facebook, click on the thumbnail.

What happens:
 - Timeline of the person opens.

What is expected?
 - The actual story should open.

Why?
 - It happens that way for Twitter.
 - A link to actual post is expected, and since there is no 'view' option anywhere, and clicking on the post opens reply/comment box, the pic is the only element available.

Same happens when I click view from the friends lens, but I guess thats just because the backend has it that way.

Tags: facebook

Related branches

Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

I made a patch to correct this and it is available at lp:~phanimahesh/friends/friends

Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

When I tried building the package with my patch applied, it failed a test stating that index is out of range.

All facebook stories have their id of the form userid_storyIdentifier. That is what I have observed. Looking at the test data in facebook_full.dat, all top-level ids :: response['data'][i]['id'] for i in range(len(response['data'])) :: do follow the pattern.

Any input is appreciated that may help finding the cause for the failing test.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:friends at revision 206, scheduled for release in friends, milestone Unknown

Changed in friends:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package friends - 0.2.0daily13.06.18-0ubuntu1

---------------
friends (0.2.0daily13.06.18-0ubuntu1) saucy; urgency=low

  [ J Phani Mahesh ]
  * Fix LP:#1185684. (LP: #1185684)

  [ Robert Bruce Park ]
  * Fix LP:#1185684. (LP: #1185684)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 206
 -- Ubuntu daily release <email address hidden> Tue, 18 Jun 2013 05:01:06 +0000

Changed in friends (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.