Unpublished Blog Posts

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.
6/10/2011 7:42:14 AM
Gravatar
Total Posts 149
Partner
mojoPortal Skinning, Custom Development and Support in Italy?
EffectiveWeb.it

Unpublished Blog Posts

Hi Joe.

some users reported a condition that prevents Plog Posts to be published.

Their site has two language/cultures, one in Italian the other in English.

web(user).config contains the following settings:

    <add key="AllowMultipleSites" value="true" />
    <add key="UseRelatedSiteMode" value="true" />
    <add key="RelatedSiteID" value="1"/>
    <add key="RelatedSiteModeHideRoleManagerInChildSites" value="true"/>
    <add key="UseFoldersInsteadOfHostnamesForMultipleSites" value="true" />
    <add key="UseCultureOverride" value="true" />
    <add key="site1culture" value="it-IT" />
    <add key="site2culture" value="en-US" />

The site has been operative for two years and is regularly updated to the latest mojoPortal version.

Site1 blog works fine but users have only recently started to populate the Blog in Site2 (this is why they reported the issue now).

When they enter a new post in their news page (blog feature instance) they cannot publish it because any posts entered in the Blog are held as Unpublished Drafts.
Please note that "Is Published?" flag is checked and "Start Date" is correctly entered and lower than "Now".

I suspected that the cause could be related to datetime format of site2 (en-US mm/dd/yyyy instead of it-IT dd/mm/yyyy) that may considers 10/06 as October 6th instead of the expected June 10th, but database contains the correct information and the Unpublished Blog Posts List correctly shows "To Be Published Friday, June 10, 2011 12:15:00 PM"

Any Clue ?

P.S: In the past, site settings where initially set to activate content workflow but at the moment that feature is disabled. I dont'know if this has anything related to the issue.

mojoPortal Version 2.3.6.6 MSSQL
Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info v2.0.50727 Running in Full Trust
Server Time Zone ora legale Europa occidentale
Server Local Time (GMT 2) 6/10/2011 2:00:11 PM
Greenwich Mean Time (GMT/UTC) 6/10/2011 12:00:11 PM

6/10/2011 12:33:15 PM
Gravatar
Total Posts 18439

Re: Unpublished Blog Posts

Hi Diego,

I just tried to replicate the problem by configuring sites as you described, but the blog post worked fine in the child site and the root site.

The only thing I have different is that I have settings like this:

<add key="UseCultureOverride" value="true" />
  <add key="site1culture" value="it-IT" />
  <add key="site1uiculture" value="it-IT" />

  <add key="site2culture" value="en-US" />
  <add key="site2uiculture" value="en-US" />

but I don't think that is a factor in the problem. Culture is used for string formating of numbers and dates, and uiculture controls which resource files are used for labels and buttons.

Content workflow is not implemented in the blog so I don't see that as a factor.

Only thing I can think of to check is to make sure the time is correct on the server.

Hope that helps,

Joe

6/14/2011 2:28:26 AM
Gravatar
Total Posts 149
Partner
mojoPortal Skinning, Custom Development and Support in Italy?
EffectiveWeb.it

Re: Unpublished Blog Posts

Hi Joe,

the time setting on the server is ok but, thanks to your tip, I had a second check on all time settings.

The issue was caused by "Time Zone" site setting of site2.

It was still set on the default (GMT - 5) US Eastern Time.

I completely forgot that this parameter is site related.

Regards.

Diego

 

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