ie6 wast not previously defined error in GWT 2.6.0/GXT2.5.1
Asked Answered
T

2

1

I got the following error when compiling the code with GWT 2.6.0 and GXT 2.5.1.

Loading inherited module 'com.sencha.gxt.ui.GXT'L
    Loading inherited module 'com.sencha.gxt.data.Data'
        Loading inherited module 'com.sencha.gxt.core.Core'
            [ERROR] The value ie6 was not previously defined.
            [ERROR] Line 96: Unexpected exception while processing element 'set-property'

Even though we don't specify ie6 in gxt.user.agent, we still get the error: "[ERROR] The value ie6 was not previously defined." Why does GXT still try to set ie6 despite we don't set it in gxt.user.agent?

Does anyone know when Sencha will release a new GXT version that resolve this problem?

Teakwood answered 3/3, 2014 at 19:22 Comment(0)
K
5

They released a beta already: https://www.sencha.com/blog/announcing-gxt-3.1-beta/

…or you could re-enable the ie6 permutation:

<extend-property name="user.agent" value="ie6" />
Kosher answered 3/3, 2014 at 20:7 Comment(3)
the extend-property did not working placing it before or after the gxt inherit :-/ but the jar works :-)Hardpan
3.1.0 is out. Now you just need to update to the latest version of Sencha GXT. mvnrepository.com/artifact/com.sencha.gxt/gxtPittsburgh
They also just released GXT 2.3.1a compatible with GWT 2.6.1 if you can't update to 3.x: plus.google.com/+BrandonDonnelson/posts/VuVCLuabcbaKosher
C
2

Just to clarify 2 points,

  1. If using GXT-3.0.1 or earlier => It is only compatible with GWT-2.5.1 (or earlier).
  2. If using GXT-3.1.0_Beta => It is only compatible with GWT-2.6.0 (or later).

Otherwise various errors will be caused during compilation/runtime.

Christcrossrow answered 31/3, 2014 at 14:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.