bigracefan18 / sharepoint-twitter

Automatically exported from code.google.com/p/sharepoint-twitter
0 stars 0 forks source link

Multiple show tweets web parts display same twitter feed even though different screen name is selected #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add Show Tweets web part on site, set the screen name to yahoo
2. Add another Show Tweets web part on site, set the screen name to ibm

What is the expected output? What do you see instead?
Expected to see the Yahoo twitter feed on Yahoo web part and IBM twitter feed 
on IBM web part.

Instead I see the Yahoo twitter feed on both web parts.

Cause found:

Caching the twitter feed object in ShowTweets.cs is generic and does not 
consider the screen name. Example on Line 377. This can be resolved by updating 
the addition to cache lines to include screen name, for example line 398:

HttpContext.Current.Cache.Add(string.Format("Tweet-{0}_{1}", PageNumber, 
this.ScreenName), tweets, null ......... and ensuring the checks for the cache 
object are also updated.

What version of the product are you using? On what operating system?

sharepoint-2010-twitter-webparts-3.2.zip

Please provide any additional information below.

Original issue reported on code.google.com by suran.mi...@gmail.com on 20 Jun 2012 at 2:10

GoogleCodeExporter commented 8 years ago
Issue resolved in new package version 3.2

Sumit Kanchan

Original comment by niting@brickred.com on 28 Jun 2012 at 12:18