Blog Module - Items not listing

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.
1/30/2007 3:44:04 PM
Gravatar
Total Posts 18439

Re: Blog Module - Items not listing

Got an interesting email today relevant to this topic. had a feeling there was a significant impact to systems because of this change to Daylight Savings. There could be some wierd interactions if systems that communicate and share data with each other over the network are not all patched and are out of sync, especially for mission critical transaction systems.

Joe

Dear Valued Microsoft Customer,

This year Daylight Saving Time (DST) extends by approximately four weeks. In compliance with this provision in the Energy Policy Act of 2005, DST dates in the United States and Canada will start three weeks earlier (2:00 A.M. on the second Sunday in March) and will end one week later (2:00 A.M. on the first Sunday in November).

In some instances, effort will be required to accommodate the new DST legislation. For example, systems and applications may need to be updated directly, while in other circumstances the application may inherit the date and time information from the underlying system.

Microsoft is committed to helping customers that are affected by the DST changes make this transition as seamless as possible. Microsoft is producing updates for Windows products as well as other Microsoft products affected by the new U.S. statute. These updates will be released through technical support channels including Microsoft Customer Service & Support (CSS), as well as online channels such as Windows Update and Microsoft Update.

Details of the updates for Microsoft Windows and affected Microsoft applications, how customers can acquire them and when they will be available can be found on the Microsoft website at http://www.microsoft.com/dst2007. Corresponding technical Knowledge Base articles are linked from this website as well.

Microsoft is providing the Time Zone updates at no-cost for customers on Windows platforms that are covered by Mainstream Support. For more information on the Microsoft Support Lifecycle Policy including options available for products in Extended Support, please visit http://support.microsoft.com/lifecycle.

Further Assistance

Microsoft values your business. For more information visit http://www.microsoft.com/dst2007, or contact Microsoft for assistance. A list of phone numbers is located at http://support.microsoft.com. Microsoft Premier Customers may engage their Technical Account Manager directly.
2/26/2007 9:24:30 PM
Gravatar
Total Posts 23
Brian

Re: Blog Module - Items not listing

Hi Joe...

I upgraded to Version mojoportal-2-2-1-6-1-mssqlreleasefiles and I still getting the time around 7 hour difference in StateDate and CreatedDate.

I've have the following settings in my web.config

<!-- this should be the actual offset of server local time from GMT -->
<add key="GreenwichMeantimeOffset" value="-7.00" />
<!-- this should be the preferred timezone offset to display for unauthenticated users -->
<add key="PreferredGreenwichMeantimeOffset" value="-5.00" />

I also have my profile set at the -5.00.

I changed the GreenwichMeantimeOffset to a +7.00 to see if the change would make a difference.... with no result.

I changed the PreferredGreenwichMeantimeOffset to a +7.00 to see if the change would make a difference.... with no result.

I change my profile to -7.00 and +7.00 with no result.

The StartDate in the Datebase was not affected by any of the changes that I made... the StartDate was still around a 7 hours ahead of the CreatedDate....

Joe... I willing to work in detail with you to resolve this issue....

Please let me know....

Brian

2/27/2007 9:21:11 AM
Gravatar
Total Posts 18439

Re: Blog Module - Items not listing

Do you know what timezone your server is in and does it have its clock set accurately?

I've had occasions where my blog post didn't appear right away but most of the time it works correct for me. I think that some of the times when it happened to me may have been because the clock on the server is off a little.

I'm happy to work on trying to resolve this if I can get a repeatable process to produce the error but since the issue is related to particular machine environments its difficult for me to figure out exactly what scenario causes it or how it can be fixed.

Joe
2/27/2007 6:56:55 PM
Gravatar
Total Posts 23
Brian

Re: Blog Module - Items not listing

Joe....

I believe I finally hit the nail on the head.... you may need to read this a couple times....

OK.... here we go....

In previous versions of mojoportal...

If I added a
new post at 10/17/2006 7:09:16 PM,
the StartDate was 2006-10-17 15:09:16.000
and the CreatedDate was 2006-10-17 15:15:28.027.

But in the current version...

If I add a
new post at 2/27/2007 6:48:39 PM,
the StartDate is 2007-02-27 23:48:26.000
and the CreatedDate is 2007-02-27 16:48:39.327.

I figured out why some of my posts do not appear....

I added a
new post at 2/27/2007 6:48:39 PM,
the StartDate is 2007-02-27 23:48:26.000
and the CreatedDate is 2007-02-27 16:48:39.327
and the post appears perfectly.

At this point I started thinking... what is going on.... then it hit me...

I added another
new post at 2/27/2007 7:01:02 PM,
the StartDate is 2007-02-28 00:00:46.000
and the CreatedDate is 2007-02-27 17:01:02.600
and the post does not appear!!!!

Did you catch it????

The post will not appear until the date changes to 2007-02-28.... and I thought I was going crazy....

Below is the information you requested about the server's time zone and my time zone.

My Server is located in MST Time Zone in Phoenix, Arizona (GMT-7.00). I'm located in Ohio (GMT -5.00). I used the follwing code to get the current time on my server.

<%@ Page Language="C#" %>
<script runat="server">

void Page_Load()
{
time.Text=DateTime.Now.ToString();
}

</script>
<html>
<head>
</head>
<body>
<form runat="server">
In WebServerLand the time is currently:<asp:Label id="time" runat="server" />
</form>
</body>
</html>

I ran this script at 6:19:15 PM in Ohio and the page I created above listed the server time at 4:19:12 PM in Arizona.

I hope this helps....

Brian

3/13/2007 5:46:01 PM
Gravatar
Total Posts 23
Brian

Re: Blog Module - Items not listing

Joe...

I know you have been busy with things...

Have you had time to determine a solution to handle the StartDate being set in the future instead of being setting in the past like previous versions of mojoportal?

Again, I'm willing to work with you to test any solution to resolve this issue.

Thanks....

Brian

3/13/2007 6:57:48 PM
Gravatar
Total Posts 18439

Re: Blog Module - Items not listing

Hi Brian,

No I haven't had a chance yet but thanks for the nudge, I will try to get to it soon. I appreciate all the research you've put into the issue and think it will help.

Hopefully, I can look into this in the next few days.

Best,

Joe
3/14/2007 11:36:54 AM
Gravatar
Total Posts 18439

Re: Blog Module - Items not listing

Hi Brian,

I committed a change to svn branches/2.x that may have fixed this issue. I didn'y mange to reproduce it but probably could have if I waited till evening ;-)

I think I understand what was happening and hopefully this change will solve it.

Can you test and confirm?

Thanks,

Joe
3/19/2007 10:44:28 PM
Gravatar
Total Posts 23
Brian

Re: Blog Module - Items not listing

Joe...

Can you please let me know what file versions I need to download from svn branches/2.x to update my 2.2.1.6.1 installation to test these changes?

Thanks

Brian

3/21/2007 5:22:12 PM
Gravatar
Total Posts 18439

Re: Blog Module - Items not listing

Hi Brian,

If you are running release files you should probably wait until I make a new release with this fix, I will try to do that soon.

If you don't want to wait for me you can build your own release files as outlined below

When working from svn sourcecode the basic deployment steps I use are:

1. Rebuild the solution in Release mode
2. Use UnleashIt to deploy just the needed files with no c# source code to a local folder
3. Optional - if you plan to use MS AJAX enabled MyPage feature, replace Web.config and MyPage.aspx in the local deployed files with the ones from the AJAX-Extensions-Pak folder, also replace mojoPortal.Web.WebParts.dll in the bin folder of the local deployment files
4. Edit the web.config with any custom settings or use user.config to override connection strings and other settings in AppSettings section

5. Backup the db and the web site
6. deploy the local files using ftp and overwriting existing files

Thanks,

Joe
3/21/2007 5:23:35 PM
Gravatar
Total Posts 18439

Re: Blog Module - Items not listing

Oh, I also meant to link to this page which has more info on deployment with UnleashIt

http://www.mojoportal.com/deploymentfromwindows.aspx

Joe
3/24/2007 2:29:34 PM
Gravatar
Total Posts 18439

Re: Blog Module - Items not listing

Hi Brian,

I've just released a new set of files version 2.2.1.7, can you give it a try and confirm the fix?

Thanks,

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