mojo rss reader doubled the records from the mojo blog

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/13/2010 1:50:23 PM
Gravatar
Total Posts 70

mojo rss reader doubled the records from the mojo blog

Hi all, sorry for boring but I have some strange behavior with the mojo's blog/rss reader mixing.

OK, I have 2 mojo ( EN/RU ) sites with RSS Readers at homepages and Blogs at the News pages.

English : http://www.softpilot2000.com.ua/  with RSS reader which reads from News page's blog.

Russian: http://www.softpilot2000.com.ua/ru/ with the RSS reader which reads from the News page's blog.

All RSS readers ( EN/RU ) and Blogs ( EN/RU ) have the same settings.

But you may found what the RSS reader at the RU site doubled the records approximetly per 36 hours. I am fixing the problem by pressing "Clear the Cashe" at the "Add/Edit RSS feed". ))

The EN version seems to have the correct behavior - no doublings found.

What it could be?

Best regards,

Igor

4/13/2010 2:18:18 PM
Gravatar
Total Posts 18439

Re: mojo rss reader doubled the records from the mojo blog

Hi Igor,

I'm not sure what could cause that. We are basically concatenating the item title and link and using a hashcode of the resulting string as a way to identify if an item already exists or not. It looks like the title and link are identical so it should produce the same hash code and therefore not create a duplicate in the mp_RssFeedEntries table. I would look at the rows there and see if they have different or the same hash code.

Hope it helps,

Joe

4/13/2010 2:27:30 PM
Gravatar
Total Posts 70

Re: mojo rss reader doubled the records from the mojo blog

Hi Joe, thanks a lot for the road map.

As far as I trying to learn Mojo deeply I will try to dig what happens.

Only best regards,

Igor

4/17/2010 8:57:54 AM
Gravatar
Total Posts 18439

Re: mojo rss reader doubled the records from the mojo blog

Hi Igor,

This "might" be fixed in svn now. I did some thinking about the problem and realized I should have a lock around the code that updates the data cached in the db so that multiple requests at the same time when cache is expired do not step on each other by trying to refresh the data in the db at the same time. That scenario could have resulted in the duplicates in the db if the timing was just right.

Best,

Joe

4/17/2010 11:31:13 AM
Gravatar
Total Posts 70

Re: mojo rss reader doubled the records from the mojo blog

Hi Joe,

That is good news,

Many thanks,

Igor

9/4/2010 5:40:42 PM
Gravatar
Total Posts 70

Re: mojo rss reader doubled the records from the mojo blog

BTW: Joe, the problem was actually fixed.

Many thanks gain.

Bests,

Igor

You must sign in to post in the forums. This thread is closed to new posts.