Jump to content

Small data-refresh bug in Booking System (</= v7.9) (IE-Only)


Recommended Posts

Posted

Notan issue in Chrome or Firefox, just in IE.

 

Open the booking system, make a booking. The page refreshes nicely to display the booking. Browse to another day, then back to the original book day. The booking appears to no longer be there.

 

Oddly enough, despite our staff all managing last term without complaint, 4 people have hit this today and panicked that their bookings have been lost. I guess they are all making start of term mass bookings?!

 

Cheers,

matt

Posted

yep, that makes sense.. similarly i noticed that when i delete a booking and browse around, then come back, the booking "appears" to still be there (of course it is actually isnt). Annoyingly, hitting refresh on the browser, still shows the incorrect info. - you can do the same thing in firefox or chrome, side-by-side with ie and see two different things.

 

It's a shame that IE got so bad!

Posted

I'll add some

+ "?" + new date();

To all of the AJAX requests, that may take a while to implement though as I'm back at work today (in about 20 minutes time)

Posted

arrrgghh! Compatability View in IE!! :( - I'm gonna work out what is going on there over the weekend!

 

Disable compatability view in ie and suddenly it appears! I will test the booking thing again now :)

Posted

Okay, so IE9 knows its an intranet site and defaults to "Display intranet sites in Compatibility View".

 

This means when you load the site, you get:

Browser Mode: IE9 Compat and Document Mode: IE7 Standards

 

The HTML shows the "Doctype" entry as commented out in the dev tools.

 

removing the "Display intranet sites in Compatibility View" tickbox (Show Command Bar > Page > Compatibility View Settings.) then changes this and the Doctype entry shows uncommented.

 

I just now need to work out how to change this setting via GPO - can't find an entry so far.

 

BLOODY IE!

Posted

Success!! Compatability Mode disabled:

 

Group Policy:

User Configuration / Policies / Administrative Templates / Windows Components / Internet Explorer / Compatability View /

Turn on Internet Explorer Standards Mode for local Intranet = Enabled

 

(I actually meant to disable it, but on checking, i have in-fact "enabled" it.. and it works!) :)

 

Now it's home time!!

 

I wonder how many other IE issues were related to this?!

  • 1 month later...
Posted

Hi Nick

 

I am getting this in ie and firefox comes up internal server error. have applied the patch. any ideas running 7.9 btw

 

 

thanks

 

Dave

Posted

Update on my original problem...

 

I was finding that my GP update has been fairly inconsistent (I suspect people are running iE before GP's have finished on the slower machines).

However, i appear to have now solved this with a change to the masterpage.master file.

I moved the followin line from line 15 to line 9 (first line in the header section):

 

This now consistently loads pages in IE9 Compat View / IE9 standards mode - formatting looks correct and the booking system works fine.

 

@nickbro could you take a look at that change as i have no idea what the implications are!! :)

 

 

My masterpage.master now looks like this:

<%@ Master Language="C#" %>
<%@ Register Assembly="HAP.Web" Namespace="HAP.Web.Controls" TagPrefix="hap" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>




   
       
       Home Access Plus
       
       
       
       
       
       
       
       
   
   

       </pre><form runat="server">
           
               
               
                   
                       Logged in as  | 
                   
               
               
                   
               
           
       </form><br>   <b

Posted

I have also added that same line to my setup.aspx file (just before the "TITLE" line) as that was running in ie7standards mode too.

This now loads in ie9 standards mode also.

The top of my setup.aspx now looks like:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Setup.aspx.cs" Inherits="HAP.Web.Setup" %>
<%@ Register Assembly="HAP.Web" Namespace="HAP.Web.Controls" TagPrefix="hap" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>




   
       
       Home Access Plus+ - Setup
       
       
       
       
       
       
       
       
       
       
       
       
   
   
       </pre><form runat="server">
...
<

Posted
shouldn't be anything, I use the edge term which should force it into IE9 mode, but sometimes it does.

 

Well it works consistently now, WITHOUT Group Policy changes :) - so I am a happy bunny!! :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...