[
https://issues.apache.org/jira/browse/OLIO-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Sobel resolved OLIO-49.
-------------------------------
Resolution: Fixed
Author: wsobel
Date: Wed Feb 4 07:06:01 2009
New Revision: 740637
URL: http://svn.apache.org/viewvc?rev=740637&view=rev
Log:
OLIO-49: Removed javascript stats and image path issues (Mandy Waite)
Modified:
incubator/olio/workload/rails/trunk/src/com/sun/web20/driver/UIDriver.java
Modified:
incubator/olio/workload/rails/trunk/src/com/sun/web20/driver/UIDriver.java
URL:
http://svn.apache.org/viewvc/incubator/olio/workload/rails/trunk/src/com/sun/web20/driver/UIDriver.java?rev=740637&r1=740636&r2=740637&view=diff
==============================================================================
--- incubator/olio/workload/rails/trunk/src/com/sun/web20/driver/UIDriver.java
(original)
+++ incubator/olio/workload/rails/trunk/src/com/sun/web20/driver/UIDriver.java
Wed Feb 4 07:06:01 2009
@@ -127,23 +127,9 @@
"/images/reflec_right.png",
"/images/reflec_left.png",
"/images/main_nav_hover_bg.gif",
- "/javascripts/tiny_mce/tiny_mce.js",
- "/javascripts/tiny_mce/themes/simple/editor_template.js",
- "/javascripts/tiny_mce/langs/en.js",
- "/javascripts/tiny_mce/themes/simple/css/editor_ui.css",
"/images/reflec_tile.png",
"/images/reflec_right.png",
- "/images/reflec_left.png",
- "/javascripts/tiny_mce/themes/simple/images/italic.gif",
- "/javascripts/tiny_mce/themes/simple/images/underline.gif",
- "/javascripts/tiny_mce/themes/simple/images/strikethrough.gif",
- "/javascripts/tiny_mce/themes/simple/images/undo.gif",
- "/javascripts/tiny_mce/themes/simple/images/separator.gif",
- "/javascripts/tiny_mce/themes/simple/images/redo.gif",
- "/javascripts/tiny_mce/themes/simple/images/cleanup.gif",
- "/javascripts/tiny_mce/themes/simple/images/bullist.gif",
- "/javascripts/tiny_mce/themes/simple/images/numlist.gif",
- "/javascripts/tiny_mce/themes/simple/css/editor_content.css"
+ "/images/reflec_left.png"
};
public static final String[] ADDPERSON_STATICS = {
@@ -169,23 +155,9 @@
"/images/reflec_right.png",
"/images/reflec_left.png",
"/images/main_nav_hover_bg.gif",
- "/javascripts/tiny_mce/tiny_mce.js",
- "/javascripts/tiny_mce/themes/simple/editor_template.js",
- "/javascripts/tiny_mce/langs/en.js",
- "/javascripts/tiny_mce/themes/simple/css/editor_ui.css",
"/images/reflec_tile.png",
"/images/reflec_right.png",
- "/images/reflec_left.png",
- "/javascripts/tiny_mce/themes/simple/images/italic.gif",
- "/javascripts/tiny_mce/themes/simple/images/underline.gif",
- "/javascripts/tiny_mce/themes/simple/images/strikethrough.gif",
- "/javascripts/tiny_mce/themes/simple/images/undo.gif",
- "/javascripts/tiny_mce/themes/simple/images/separator.gif",
- "/javascripts/tiny_mce/themes/simple/images/redo.gif",
- "/javascripts/tiny_mce/themes/simple/images/cleanup.gif",
- "/javascripts/tiny_mce/themes/simple/images/bullist.gif",
- "/javascripts/tiny_mce/themes/simple/images/numlist.gif",
- "/javascripts/tiny_mce/themes/simple/css/editor_content.css"
+ "/images/reflec_left.png"
};
public static final String[] ADDEVENT_STATICS = {
@@ -211,23 +183,9 @@
"/images/reflec_right.png",
"/images/reflec_left.png",
"/images/main_nav_hover_bg.gif",
- "/javascripts/tiny_mce/tiny_mce.js",
- "/javascripts/tiny_mce/themes/simple/editor_template.js",
- "/javascripts/tiny_mce/langs/en.js",
- "/javascripts/tiny_mce/themes/simple/css/editor_ui.css",
"/images/reflec_tile.png",
"/images/reflec_right.png",
- "/images/reflec_left.png",
- "/javascripts/tiny_mce/themes/simple/images/italic.gif",
- "/javascripts/tiny_mce/themes/simple/images/underline.gif",
- "/javascripts/tiny_mce/themes/simple/images/strikethrough.gif",
- "/javascripts/tiny_mce/themes/simple/images/undo.gif",
- "/javascripts/tiny_mce/themes/simple/images/separator.gif",
- "/javascripts/tiny_mce/themes/simple/images/redo.gif",
- "/javascripts/tiny_mce/themes/simple/images/cleanup.gif",
- "/javascripts/tiny_mce/themes/simple/images/bullist.gif",
- "/javascripts/tiny_mce/themes/simple/images/numlist.gif",
- "/javascripts/tiny_mce/themes/simple/css/editor_content.css"
+ "/images/reflec_left.png"
};
@@ -816,7 +774,7 @@
}
String link = elText.substring(idx2 + attrStartLen, endIdx);
- if (link.startsWith("/filestore")) {
+ if (link.startsWith("/uploaded_files")) {
String url = baseURL + '/' + link;
logger.finer("Adding " + url + " from idx " + idx);
> Rails driver is not in sync with the app for both the image path and for
> Javascript statics
> -------------------------------------------------------------------------------------------
>
> Key: OLIO-49
> URL: https://issues.apache.org/jira/browse/OLIO-49
> Project: Olio
> Issue Type: Bug
> Environment: n/a
> Reporter: Mandy Waite
> Assignee: William Sobel
> Priority: Minor
> Attachments: UIDriver-OLIO49.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The recent updates to the Rails driver expected the path of the event and
> person images/thumbnails to begin /filestore. In the app the path is
> /uploaded_files (as defined in environment.rb). Also, a recent update to the
> Rails application removed tiny_mce and the driver still expects to find the
> tiny_mce files in /javascripts when loading statics.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.