Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1009

grouper shows partial screen in new ui (2.2) when browser language is not en/us

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.2.0
    • 2.2.0
    • UI
    • None

    Description

      Hi Chris,

      Looking good here!

      Now it is working for me with browser settings:
      Accept-Language: en,de;q=0.5
      & Accept-Language: de

      Lg Martin

      Martin Krenn
      University of Innsbruck
      Central IT Services
      A-6020 Innsbruck

      From: Chris Hyzer
      Sent: Donnerstag, 17. Juli 2014 16:11
      To: Chris Hyzer; Krenn, Martin
      Cc: grouper-users
      Subject: RE: [grouper-users] Problem with New UI

      Dojo (library for comboboxes and tree control), by default has hundreds of
      static files. I compiled these down so that there are a lot fewer, but
      apparently the process didn’t work in this case. I put the attached patch
      on the demo server and now the demo server works for me with different
      languages in browser. Can you unzip it to your webapp dir (so the
      grouperExternal matches your grouperExternal folder), and see if it works
      now?

      Thanks,
      Chris

      From: Chris Hyzer
      Sent: Thursday, July 17, 2014 9:28 AM
      To: 'Krenn, Martin'
      Cc: grouper-users
      Subject: RE: [grouper-users] Problem with New UI

      Ok, thanks Martin. Something isn’t working with dojo (combobox and tree
      library) and other languages. I will need to look into this.

      Thanks,
      Chris

      From: Krenn, Martin
      Sent: Thursday, July 17, 2014 9:26 AM
      To: Chris Hyzer
      Subject: RE: [grouper-users] Problem with New UI

      Hi,

      had the same problem here. Browser language was [en]. Using [en-us] as
      browser language ‘solves’ the problem.

      Lg marin.krenn


      Martin Krenn
      University of Innsbruck
      Central IT Services
      A-6020 Innsbruck

      From: grouper-users-request
      grouper-users-request On Behalf Of Chris Hyzer
      Sent: Donnerstag, 17. Juli 2014 15:20
      To: Yoann Delattre; grouper-users
      Subject: RE: [grouper-users] Problem with New UI

      Can you do 5 things for me?

      1. If your browser language is English US does it work?
      2. Can you register on the demo server and try that (use google or facebook
      for authn)

      Register:
      https://grouperdemo.internet2.edu/grouper_v2_2/grouperExternal/appHtml/group
      er.html?operation=ExternalSubjectSelfRegister.externalSubjectSelfRegister

      Demo UI: https://grouperdemo.internet2.edu/grouper_v2_2/

      3. Does it work?

      4. Can you send me your headers to the UI? E.g.

      1. Accept:
      text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
      2. Accept-Encoding:
      gzip,deflate,sdch
      3. Accept-Language:
      en-US,en;q=0.8
      4. Connection:
      keep-alive
      5. Cookie:
      XXXXXXXX
      6. Host:
      grouperdemo.internet2.edu
      7. Referer:
      https://grouperdemo.internet2.edu/grouper_v2_2/grouperUi/
      8. User-Agent:
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
      Chrome/34.0.1847.131 Safari/537.36

      5. Can you send me a list of all requests to the UI after you clear cache?
      E.g. from firebug

      GET UiV2Main.index
      200 OK
      13.3 KB
      207.75.164.158:443

      87ms

      GET claro.css
      200 OK
      141.0 KB
      207.75.164.158:443

      330ms

      GET dojo.css
      200 OK
      1.7 KB
      207.75.164.158:443

      46ms

      GET grouperTooltip.css
      200 OK
      214 B
      207.75.164.158:443

      47ms

      GET bootstrap.css?updated=02132013_2
      200 OK
      129.7 KB
      207.75.164.158:443

      295ms

      GET responsive.css
      200 OK
      14.5 KB
      207.75.164.158:443

      53ms

      GET font-awesome.css
      200 OK
      21.1 KB
      207.75.164.158:443

      51ms

      GET grouperUi2.css
      200 OK
      178 B
      207.75.164.158:443

      159ms

      GET OwaspJavaScriptServlet
      200 OK
      13.7 KB
      207.75.164.158:443

      169ms

      GET dojo.js
      200 OK
      156.2 KB
      207.75.164.158:443

      475ms

      GET jquery.js
      200 OK
      331.5 KB
      207.75.164.158:443

      738ms

      GET organisation-logo.gif
      200 OK
      1.0 KB
      207.75.164.158:443

      1.22s

      GET bootstrap.js
      200 OK
      57.3 KB
      207.75.164.158:443

      1.02s

      GET tree.jquery.js
      200 OK
      62.1 KB
      207.75.164.158:443

      1.05s

      GET jquery.dataTables.min.js
      200 OK
      69.2 KB
      207.75.164.158:443

      1.08s

      GET footable-0.1.js
      200 OK
      15.8 KB
      207.75.164.158:443

      955ms

      GET jquery.cookie.js
      200 OK
      2.3 KB
      207.75.164.158:443

      955ms

      GET jquery.form.js
      200 OK
      40.8 KB
      207.75.164.158:443

      1.06s

      GET grouper.js
      200 OK
      9.9 KB
      207.75.164.158:443

      1.04s

      GET native.history.js
      200 OK
      87.8 KB
      207.75.164.158:443

      1.19s

      GET grouperUi.js
      200 OK
      62.0 KB
      207.75.164.158:443

      1.19s

      GET wz_tooltip.js
      200 OK
      35.7 KB
      207.75.164.158:443

      1.21s

      GET jquery.blockUI.js
      200 OK
      24.7 KB
      207.75.164.158:443

      1.13s

      GET jquery.simplemodal.js
      200 OK
      24.2 KB
      207.75.164.158:443

      1.14s

      GET niftycube.js
      200 OK
      8.4 KB
      207.75.164.158:443

      1.17s

      POST OwaspJavaScriptServlet
      200 OK
      55 B
      207.75.164.158:443

      75ms

      GET grouperDojo.js
      200 OK
      249.3 KB
      207.75.164.158:443

      627ms

      GET registry.js
      200 OK
      1.4 KB
      207.75.164.158:443

      77ms

      GET grouperDojo_en-us.js
      200 OK
      502 B
      207.75.164.158:443

      75ms

      GET lite.js
      200 OK
      4.5 KB
      207.75.164.158:443

      75ms

      GET cross_scratches.png
      200 OK
      25.0 KB
      207.75.164.158:443

      642ms

      GET fontawesome-webfont.woff?v=4.0.3
      200 OK
      43.4 KB
      207.75.164.158:443

      350ms

      GET blank.gif
      200 OK
      43 B
      207.75.164.158:443

      466ms

      GET UiV2Main.folderMenu?root
      200 OK
      1.4 KB
      207.75.164.158:443

      479ms

      GET loadingAnimation.gif
      200 OK
      631 B
      207.75.164.158:443

      466ms

      GET busy.gif
      200 OK
      673 B
      207.75.164.158:443

      916ms

      POST UiV2Main.indexMain
      200 OK
      32.0 KB
      207.75.164.158:443

      1.05s

      GET UiV2Main.folderMenu?root
      200 OK
      1.4 KB
      207.75.164.158:443

      388ms

      GET commonIconsObjActEnabled.png
      200 OK
      7.6 KB
      207.75.164.158:443

      379ms

      GET treeExpandImages.png
      200 OK
      465 B
      207.75.164.158:443

      28ms

      GET niftyCorners.css
      200 OK
      1.0 KB
      207.75.164.158:443

      Thanks,
      Chris

      From: grouper-users-request
      grouper-users-request On Behalf Of Yoann Delattre
      Sent: Thursday, July 17, 2014 3:00 AM
      To: grouper-users
      Subject: [grouper-users] Problem with New UI

      Hi everyone,

      first of all, thanks a lot for the new version, i'm already trying it in our
      dev environnement .
      However, i have a problem with the new UI...
      when i try to acces the page, noting appears :

      Firebug show me some errors :

      Failed to load resource: the server responded with a status of 404
      (Introuvable)
      http://grouper.dll.in.ac-lille.fr:8080/grouperui/grouperExternal/public/asse
      ts/dojo/dijit/nls/loading.js
      Uncaught Error: xhrFailed
      grouper.dll.in.ac-lille.fr:8080/grouperui/grouperExternal/public/assets/dojo
      /dojo/dojo.js:15 : dojo.store is undefined
      Uncaught TypeError: Cannot read property 'JsonRest' of undefined
      grouper.dll.in.ac-lille.fr:8080/grouperui/grouperUi/app/UiV2Main.index:123

      Lite UI and Admin UI works fine :-/

      Can you help me ?

      Thanks,
      Yoann

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: