Difference between revisions of "User:Jimmyshiau"

From Documentation
Line 5: Line 5:
 
:#Browser and Browser version (EX: Firefox 3.6).
 
:#Browser and Browser version (EX: Firefox 3.6).
 
:#Reproducing Sample if possible.
 
:#Reproducing Sample if possible.
 +
:#A website for ZK support team to access the page, and try to debug on the website  if possible, remember to [[#Cannot extracting the issue to a reproducing sample | turn on]] the js debug in your zk.xml.
 +
:#A VM with server and source code for debug  if possible. we can start the server in the VM, and debug the source code.
 +
 
* How to create reproducing sample:
 
* How to create reproducing sample:
 
:*Use [http://books.zkoss.org/wiki/ZK_Jet ZK Jet] extracting ZK 5 widget tree to a ZUL file (i.e., snapshot the browser into a ZUL file)
 
:*Use [http://books.zkoss.org/wiki/ZK_Jet ZK Jet] extracting ZK 5 widget tree to a ZUL file (i.e., snapshot the browser into a ZUL file)
 
:*'''Replace''' you data (EX: from database) with '''dummy data''' for run the reproducing sample.
 
:*'''Replace''' you data (EX: from database) with '''dummy data''' for run the reproducing sample.
 +
 +
 
==Cannot extracting the issue to a reproducing sample==
 
==Cannot extracting the issue to a reproducing sample==
 
*Snapshot the ''error'', ''request'' and ''response'' with Browser. remember to''' turn on''' the js debug in your zk.xml
 
*Snapshot the ''error'', ''request'' and ''response'' with Browser. remember to''' turn on''' the js debug in your zk.xml

Revision as of 03:28, 5 August 2011

Meet a problem with ZK

ZK MeetRpoblem01.png

  • Please provide the following information:
  1. ZK version (EX: ZK 5.0.7.1 PE).
  2. Browser and Browser version (EX: Firefox 3.6).
  3. Reproducing Sample if possible.
  4. A website for ZK support team to access the page, and try to debug on the website if possible, remember to turn on the js debug in your zk.xml.
  5. A VM with server and source code for debug if possible. we can start the server in the VM, and debug the source code.
  • How to create reproducing sample:
  • Use ZK Jet extracting ZK 5 widget tree to a ZUL file (i.e., snapshot the browser into a ZUL file)
  • Replace you data (EX: from database) with dummy data for run the reproducing sample.


Cannot extracting the issue to a reproducing sample

  • Snapshot the error, request and response with Browser. remember to turn on the js debug in your zk.xml
<client-config>
	<debug-js>true</debug-js>
</client-config>
  • Using Firefox with firebug (enable firebug by press F12) to snapshot the following images, then mail to zk support team.
Server side error

1. Request

ZK MeetRpoblem FF01.png


2. Response

ZK MeetRpoblem FF02.png

Client side error

ZK MeetRpoblem FF03.png


  • Click the link (the blue text) then go to the line of error.

ZK MeetRpoblem FF04.png

Cannot reproduce with Firefox

Chrome

  • Enable "Developer tools" by press F12
Server side error

1. Request

ZK MeetRpoblem Chrome01.png


2. Response

ZK MeetRpoblem Chrome02.png

Client side error
  • Click the error icon in the right-bottom corner.
  • Click the link (test.zul:22) then go to the line of error.

ZK MeetRpoblem Chrome03.png

IE

  • Due to IE6, 7 cannot check error line, we need to reproduce with IE8 or 9.
  • Enable "Developer tools" by press F12
Client side error

ZK MeetRpoblem IE01.png

  • Change Document mode to emulate IE6,7

ZK MeetRpoblem IE02.png

Quirks Mode: IE6
Internet Explorer 7 Standards: IE7