svn commit: r1863560 - in /ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes: apple/style.css classic/style.css default-rtl/style.css default/style.css

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1863560 - in /ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes: apple/style.css classic/style.css default-rtl/style.css default/style.css

jleroux@apache.org
Author: jleroux
Date: Mon Jul 22 15:21:14 2019
New Revision: 1863560

URL: http://svn.apache.org/viewvc?rev=1863560&view=rev
Log:
Fixed: Unknown request [images]; this request does not exist or cannot be
called directly.
(OFBIZ-10895)

Today Olivier reported directly to me that there was an issue in HR:
<<If you go to humanres, at the level of the tree that appears the icons to expand
the tree no longer appear (but you can click...)
This is due to the path of the d.png image which is wrong in the css file
(there is too much image in the path)>>

I should have seen it because the d.png file is, with other related image files,
in the same directory than style.css. And there was an inconsistency in the
style.css files regarding the d.png file path.

We should note that we have still this error in log:
2019-07-22 16:25:26,275 |jsse-nio-8443-exec-7 |ControlServlet                
|E| Error in request handler:
org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request [d.png];
this request does not exist or cannot be called directly.
at org.apache.ofbiz.webapp.control.RequestHandler.doRequest
(RequestHandler.java:277) ~[ofbiz.jar:?]

As I wrote in my last commit for OFBIZ-10895:
The only safe way to go is to not only check the error log for
"Unknown request [...."
but also to look for 404 in access log, not all request show erroneously in
error log.

Some error appears before the user is logged in, as I wrote in the Jira:
<<I noticed that this error message often appears before login. A 404 can be
seen in the access log and then once logged the issue no longer exists
(ie we get a 200). I have no yet investigated why...>>

Nevertheless, I want to remove this misleading error message. I hope I'll do
that before forgetting.

Thanks: Olivier Heintz

Modified:
    ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/apple/style.css
    ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/classic/style.css
    ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default-rtl/style.css
    ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default/style.css

Modified: ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/apple/style.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/apple/style.css?rev=1863560&r1=1863559&r2=1863560&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/apple/style.css (original)
+++ ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/apple/style.css Mon Jul 22 15:21:14 2019
@@ -6,7 +6,7 @@
 
 .jstree-apple > ul { background:url("bg.jpg") left top repeat; }
 .jstree-apple li,
-.jstree-apple ins { background-image:url("images/d.png"); background-repeat:no-repeat; background-color:transparent; }
+.jstree-apple ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
 .jstree-apple li { background-position:-90px 0; background-repeat:repeat-y;  }
 .jstree-apple li.jstree-last { background:transparent; }
 .jstree-apple .jstree-open > ins { background-position:-72px 0; }

Modified: ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/classic/style.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/classic/style.css?rev=1863560&r1=1863559&r2=1863560&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/classic/style.css (original)
+++ ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/classic/style.css Mon Jul 22 15:21:14 2019
@@ -5,7 +5,7 @@
  */
 
 .jstree-classic li,
-.jstree-classic ins { background-image:url("images/d.png"); background-repeat:no-repeat; background-color:transparent; }
+.jstree-classic ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
 .jstree-classic li { background-position:-90px 0; background-repeat:repeat-y;  }
 .jstree-classic li.jstree-last { background:transparent; }
 .jstree-classic .jstree-open > ins { background-position:-72px 0; }

Modified: ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default-rtl/style.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default-rtl/style.css?rev=1863560&r1=1863559&r2=1863560&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default-rtl/style.css (original)
+++ ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default-rtl/style.css Mon Jul 22 15:21:14 2019
@@ -5,7 +5,7 @@
  */
 
 .jstree-default-rtl li,
-.jstree-default-rtl ins { background-image:url("images/d.png"); background-repeat:no-repeat; background-color:transparent; }
+.jstree-default-rtl ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
 .jstree-default-rtl li { background-position:-90px 0; background-repeat:repeat-y; }
 .jstree-default-rtl li.jstree-last { background:transparent; }
 .jstree-default-rtl .jstree-open > ins { background-position:-72px 0; }

Modified: ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default/style.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default/style.css?rev=1863560&r1=1863559&r2=1863560&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default/style.css (original)
+++ ofbiz/ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/default/style.css Mon Jul 22 15:21:14 2019
@@ -5,7 +5,7 @@
  */
 
 .jstree-default li,
-.jstree-default ins { background-image:url("images/d.png"); background-repeat:no-repeat; background-color:transparent; }
+.jstree-default ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
 .jstree-default li { background-position:-90px 0; background-repeat:repeat-y; }
 .jstree-default li.jstree-last { background:transparent; }
 .jstree-default .jstree-open > ins { background-position:-72px 0; }