carmdevol / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

Shape repository not working in Chrome #464

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using Google Chrome 10.0.648.204, the shape repository just displays a white 
space. 

What steps will reproduce the problem?
1. Point Chrome v10.0.648.204 to http://oryx-project.org/backend/poem/repository
2. Create a new model of any type.
3. Notice a blank white space at the left side where the shape repository used 
to be.

Using the add plugin button, the ShapeRepository plugin is not selected. If I 
select it manually, I get an error message "Unable to load Plugin. Error: 
undefined".

Original issue reported on code.google.com by thomaszi...@gmail.com on 14 Apr 2011 at 8:52

GoogleCodeExporter commented 8 years ago
This bug corresponds to your Chrome Version
@see http://code.google.com/p/chromium/issues/detail?id=58493

Original comment by p.sty...@googlemail.com on 24 May 2011 at 3:11

GoogleCodeExporter commented 8 years ago
Hi,
I have just finished to make a javascript file that aims to fix this bug, until 
Google brings a patch for Chromium directly.
You can find the script attached.
BE SURE TO INCLUDE IT BEFORE ANY EXTJS SCRIPT, by this way : 
<script type="text/javascript" src="/way/to/file/chromium_oryx_fix.js"></script>

Please, give me feedbacks if you use it. I would be glad to improve that fix.

Florent

Original comment by florent....@gmail.com on 2 Jun 2011 at 8:29

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,
I have been online looking for the tool that can easily convert EPC models  to 
BPMN, I am  interested to learn more about Oryx, can someone assist how do get 
involved??? I would like get this tool run on my computer.

Please assist,

Regards
Daniel Lossy

Original comment by los...@gmail.com on 6 Jun 2011 at 2:55

GoogleCodeExporter commented 8 years ago
Hi, I have tested the fix and can confirm that it fixes the problem for me 
(Chrome v11.0.696.77 on Windows7 64bit). Thankx
I have modified several java files - to include the javascript 
chromium_oryx_fix.js before any ext library includes - I would be happy to send 
these over to a project dev or commit them to a branch in svn. I'm not an 
active project committer yet. Would like to be though.

Original comment by ttay...@encircle.co.uk on 7 Jun 2011 at 11:58

GoogleCodeExporter commented 8 years ago
>I'm not an active project committer yet. Would like to be though.
So do I...

Well, to people who would like to include it, here are the steps : 
1. Get it from : 
http://oryx-editor.googlecode.com/issues/attachment?aid=4640002000&name=chromium
_oryx_fix.js&token=4f0acfbbe22f865e4d4b3de1275c73e7
2. Put the script above in editor/client/scripts
3. In editor/build.xml, add the following lines (of course, don't write the 
[+]): 
   <target name="build-editor-core">
      […]
      [+] <copy todir="${editor-build-root}/lib" file='${editor-src-client}/scripts/chromium_oryx_fix.js'/>
      [+] <echo>
      [+]     Copied Hack for insertAdjacentHTML for chromium
      [+] </echo>
4. In editor/server/src/org/oryxeditor/server/EditorHandler.java, add the 
following : 
            + "<title>" + title + " - Oryx</title>\n"
        [+] + "<script type='text/javascript' src='lib/chromium_oryx_fix.js' />"
5. in a shell, go to editor/, and type : ant build deploy-editor dist 
6. restart tomcat ... it should be OK !

Original comment by florent....@gmail.com on 7 Jun 2011 at 12:19

GoogleCodeExporter commented 8 years ago
Well, like suggested Philipp B., since Oryx is under MIT Licence, I switch the 
licence of the script to MIT.

Attached : the same script under MIT Licence.

Florent.

Original comment by florent....@gmail.com on 8 Jun 2011 at 8:17

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r3935.

Original comment by philipp....@student.hpi.uni-potsdam.de on 10 Jun 2011 at 12:37