Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Need help locating error data

    v11.0p_2016-08-11/LGPL Deployment (built 2016-08-11) client side only - Any browser

    Just getting started with a V6 to V11 upgrade and need some basic help on debugging with the Dev Console, new to SC.
    Copied new isomorphic into existing project along with our custom .css files

    I have two almost identical simple pages, one html flow embedded in a Vpage, each includes an .html file
    The one page display s fine, the other returns a blank screen. The screen that is fine can display either of the included .html files.
    Looking at the dev console, the page that works just shows the two elements: page layout and flow.
    The page that is blank shows those two elements plus an isc_eh_screenspan, isc_globalwarn block. I can see where those elements are on my screen but not any error data.
    Assuming there's something wrong in my code, but cannot see the error info.
    I excluded all our custom .css files so I'm only running with your skin_styles.css

    Is there a way to see the content of the warning block?

    #2
    The presence of isc_globalwarn does not indicate that the framework wanted to display a warning. It indicates that isc.warn was called, possibly by application code.

    If there's a JavaScript error, it will generally be displayed in the Developer Console.

    There are some circumstances in which the browser prevents us from reporting an error normally, so it's a good idea to try multiple browsers in this circumstance.

    However you don't seem to have eliminated more normal causes for your problem, such as the HTML returned from your server actually being blank, or the server returning a 404 due to an incorrect URL. Check those using the browser's built-in Developer Tools (in Windows, press F 12). You can also look at the RPC tab of the Smartclient Developer Console to see whether there is a request to get the .html response and what the response was (make sure Track RPCs is checked).

    Comment


      #3
      I searched the Eclipse project and didn't find any global warn, but after stripping out everything but your css, the block isn't showing up anymore.

      Thanks for the tip on the RPC check, I also had debug on for flow and draw, so I could see the fetch for the html file on the page that works. There is no RPC call on the page that fails.

      Is there a forum article or other document/whitepaper outside of the getting started and ref guide to help with debugging for newbies?

      Comment

      Working...
      X