#1451 Blank page in IE
Closed: Fixed None Opened 12 years ago by edewata.

The UI returns a blank page in Internet Explorer 9, only the background (i.e. static content) is visible. The server is configured to fall back to basic auth, but there is no login prompt.


First issue: the getter/setter is done differently in IE. One solution is to use one of the following libraries:

- http://antimatter15.com/wp/2010/02/experiment-cross-browser-javascript-getters-and-setters/.
- https://github.com/aFarkas/x-browser-accessors

However, it's not clear if the libraries are well tested/maintained. The other option is to replace the getters/setters with regular functions.

Investigate removing the getters/setters. I think that most places we use them we can just enforce that the preconditions are met prior to accessing.

The setter is used by objects that may contain other objects (e.g. details facet, details section, dialog) to set the context (i.e. entity_name) recursively in the entire object tree. The context is used for various things including finding the entity object, the facet object, metadata (e.g. labels, validation) and navigation.

The setter is needed to avoid having to pass the context explicitly in the object spec. The builder object can help insert the context into object spec, but currently lower level objects are not created using a builder.

The options are:
1. Keep the setter but replace it with regular function (i.e. set_entity_name()) that will work in all browsers.

  1. Remove the setter and pass the context or the builder explicitly in object spec to the entire object tree.

Working on this as part of other changes already.

Metadata Update from @edewata:
- Issue assigned to admiyo
- Issue set to the milestone: FreeIPA 2.1 - 2011/07

7 years ago

Login to comment on this ticket.

Metadata