Adding a Content Feature to a page doesn't immediately show up

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.
2/13/2009 4:01:13 PM
Gravatar
Total Posts 14

Adding a Content Feature to a page doesn't immediately show up

Hi All:

We have 2 different sites; both 2.2.8.2 MSSQL. When adding content to pages within the sites it doesn't immediately show up on the page. Also, when the Create New Content button is clicked it sometimes moves the content to the specified pane, sometimes not. But the content does show up at some point.This is a problem for some of our site administrators since when attempting to add content, if they don't see it show up immediately, they will continually click the Create New Content button and create many multiple instances of content on the given page.

When I've tried it myself I've cleared the page cache and refreshed. It seems to have a mind of its own and the content module shows up on the page when it is ready.

Has anyone experienced this? Anyone have a suggestion/remedy?

 

Thanks,

Jeff

2/14/2009 4:38:32 AM
Gravatar
Total Posts 70

Re: Adding a Content Feature to a page doesn't immediately show up

I was seeing this problem not long ago too but it seems to be fixed in the latest version. It seemed like some problem where the ajax update panel wasn't updating sometimes. Refreshing the page would show that the feature was added but since it didn't update the display I was adding duplicates sometimes.

It hasn't happened recently so upgrading to the newest version may help.

Steve

2/19/2009 4:11:36 PM
Gravatar
Total Posts 14

Re: Adding a Content Feature to a page doesn't immediately show up

Hi Steve, and thanks for the response and suggestion.

 

I upgraded to the latest version and still have the same issue. I've forced the cache to clear, and even updated the web.config file and reloaded the site in a browser. I don't really know anything else to try.

 

Regards,

Jeff

2/21/2009 6:00:27 AM
Gravatar
Total Posts 18439

Re: Adding a Content Feature to a page doesn't immediately show up

You are sure you are using the latest Web.config with references to the 3.5 version of System.Web.Extensions?

For an upgrade I would also look in the /bin folder, if you see System.Web.Extensions.dll there, delete it as it would be the old 1.0 AJAX dll, for 3.5 .NET we don't need it anymore as its in the GAC. 

Are you seeing any errors in the mojoportal log that correpond to when this happens?

Hope it helps,

Joe

2/21/2009 6:16:53 AM
Gravatar
Total Posts 18439

Re: Adding a Content Feature to a page doesn't immediately show up

I just looked into this and  I see one possible cause. If the database is on a different server, then this problem could occur if the time on the db server is not in sync with the time on the Web Server. The publish begin date is established in .NET code on the web server using DateTime.UtcNow() but in retrieving modules from the db the current utc time is determined by the db server clock because we are using 

AND pm.PublishBeginDate < GetutcDate()

I think it would be better if we pass in the current utctime to this procedure from .NET to keep it consistent. I've put it on my to do list. For now, if it is caused by a time descrepency between servers you can solve it by synchronizing the time/timezone on the 2 machines.

Hope it helps,

Joe

2/21/2009 6:27:21 AM
Gravatar
Total Posts 18439

Re: Adding a Content Feature to a page doesn't immediately show up

fyi, I just fixed it here so it passes in the current date from .NET code to this stored proc which should eliminate any problems even if the clocks are not in sync between web server and db server. So this will be fixed in the next release, in the meantime synching the clocks should solve it.

Best,

Joe

2/23/2009 7:56:29 AM
Gravatar
Total Posts 14

Re: Adding a Content Feature to a page doesn't immediately show up

Thanks Joe.

 

We are using the latest Web.config with references to the 3.5 version of System.Web.Extensions.

 

The database is on a different server. I will check to see that the time on the db server is in sync with the time on the Web Server.

 

Regards,

Jeff

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