svn commit: r1858444 - in /ofbiz: ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/apple/ ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/classic/ ofbiz-framework/trunk/them...

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

svn commit: r1858444 - in /ofbiz: ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/apple/ ofbiz-framework/trunk/themes/common-theme/webapp/common/js/jquery/plugins/jsTree/themes/classic/ ofbiz-framework/trunk/them...

jleroux@apache.org
Author: jleroux
Date: Tue Apr 30 16:23:56 2019
New Revision: 1858444

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

This error happens in many occasions:
Inside another request (eg LookupProduct)
Of after a request (eg login)

It shows only in log and have no effect on UI. Notably the new feature normally
showing an error message in trunk (OFBIZ-10753) does not shows

It happens in all supported releases. IIRW it always happened, only URLs like
https://demo-trunk.ofbiz.apache.org/images/defaultImage.jpg work.
But here it's different because we don't need to call
https://demo-trunk.ofbiz.apache.org/images by hand to get the issue in log.

So it's not very bad since it's has no side effects, just weird and annoying.
Because it might hide something undetected yet...

This issue does not appear in R15, a good place to test is for instance
ordermgr/control/request.
There cal.gif is called by /images/cal.gif and it works (the images appears)
but in more recent versions the call is also done to
/ordermgr/control/images/cal.gif where it fails.
This 1st appears in ControlFilter in the stack trace.

As said Deepak Dixit:
I think we need to fix the image url in css file, it should start with /images,
else browser append this in request info. There is nothing related to java or
tomcat code.

This is a 1st commit for the errors I already reported and I'm sure about

Thanks: Deepak

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
    ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/javascript.css
    ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/style.css
    ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/javascript.css
    ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/style.css
    ofbiz/ofbiz-plugins/trunk/multiflex/webapp/multiflex/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=1858444&r1=1858443&r2=1858444&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 Tue Apr 30 16:23:56 2019
@@ -6,7 +6,7 @@
 
 .jstree-apple > ul { background:url("bg.jpg") left top repeat; }
 .jstree-apple li,
-.jstree-apple ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
+.jstree-apple ins { background-image:url("images/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=1858444&r1=1858443&r2=1858444&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 Tue Apr 30 16:23:56 2019
@@ -5,7 +5,7 @@
  */
 
 .jstree-classic li,
-.jstree-classic ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
+.jstree-classic ins { background-image:url("images/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=1858444&r1=1858443&r2=1858444&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 Tue Apr 30 16:23:56 2019
@@ -5,7 +5,7 @@
  */
 
 .jstree-default-rtl li,
-.jstree-default-rtl ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
+.jstree-default-rtl ins { background-image:url("images/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=1858444&r1=1858443&r2=1858444&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 Tue Apr 30 16:23:56 2019
@@ -5,7 +5,7 @@
  */
 
 .jstree-default li,
-.jstree-default ins { background-image:url("d.png"); background-repeat:no-repeat; background-color:transparent; }
+.jstree-default ins { background-image:url("images/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; }

Modified: ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/javascript.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/javascript.css?rev=1858444&r1=1858443&r2=1858444&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/javascript.css (original)
+++ ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/javascript.css Tue Apr 30 16:23:56 2019
@@ -1887,7 +1887,7 @@ body .ui-tooltip {
 
 /* Calendar Button and Image */
 .view-calendar button {
-    background: url(images/cal.gif) no-repeat !important;
+    background: url(/images/cal.gif) no-repeat !important;
     display: inline-block;
     border: none;
     vertical-align: middle;

Modified: ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/style.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/style.css?rev=1858444&r1=1858443&r2=1858444&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/style.css (original)
+++ ofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/style.css Tue Apr 30 16:23:56 2019
@@ -100,7 +100,7 @@ body, textarea, input, select {
 }
 
 html {
-    background-image: url(images/tile.gif);
+    background-image: url(/images/tile.gif);
 }
 
 body {

Modified: ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/javascript.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/javascript.css?rev=1858444&r1=1858443&r2=1858444&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/javascript.css (original)
+++ ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/javascript.css Tue Apr 30 16:23:56 2019
@@ -1888,7 +1888,7 @@ body .ui-tooltip {
 
 /* Calendar Button and Image */
 .view-calendar button {
-    background: url(images/cal.gif) no-repeat !important;
+    background: url(/images/cal.gif) no-repeat !important;
     display: inline-block;
     border: none;
     vertical-align: middle;

Modified: ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/style.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/style.css?rev=1858444&r1=1858443&r2=1858444&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/style.css (original)
+++ ofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/style.css Tue Apr 30 16:23:56 2019
@@ -101,7 +101,7 @@ body, textarea, input, select {
 
 /*
 html {
-background-image: url(images/tile.gif);
+background-image: url(/images/tile.gif);
 }
 */
 

Modified: ofbiz/ofbiz-plugins/trunk/multiflex/webapp/multiflex/style.css
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/multiflex/webapp/multiflex/style.css?rev=1858444&r1=1858443&r2=1858444&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/multiflex/webapp/multiflex/style.css (original)
+++ ofbiz/ofbiz-plugins/trunk/multiflex/webapp/multiflex/style.css Tue Apr 30 16:23:56 2019
@@ -4026,7 +4026,7 @@ button.ui-button::-moz-focus-inner {
 
 /* Calendar Button and Image */
 .view-calendar button {
-    background: url(images/cal.gif) no-repeat !important;
+    background: url(/images/cal.gif) no-repeat !important;
     display: inline-block;
     border: none;
     vertical-align: center;