ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Coderay 1.0.5 gem acts different than on Coderay site itself (Bug #886)


Added by Ruben Willems at 2012-02-14 09:04 pm. Updated at 2012-11-08 12:17 pm.


Status:Open Start date:2012-02-14
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Text formatting
Target version:-
Remote issue URL: Affected version:

Description

Coderay gem acts different than on coderay page :
the problem is the code element in an xml fragment, like in Nant build scripts.

same example at coderay site

chiliproject CodeRay gem :

 1<project default="help">
 2     <script language="C#" prefix="RuWi">
 3          <references>
 4              <include name="System.Xml.dll" />
 5              <include name="System.dll" />
 6          </references>
 7          <imports>
 8              <import namespace="System.Text" />
 9          </imports>
10          &lt;code&gt;
11            &lt;![CDATA[
12                [Function("fubar")]
13                public static bool fubar()
14                {
15                    bool ok = true;
16                    return ok;
17                }
18                ]]&gt;
19          &lt;/code&gt;
20     &lt;/script&gt;
21    &lt;!-- end custom scripts --&gt; 
22
23    &lt;target name="help" &gt;   
24        &lt;echo message="Removed for keeping the file shorter." /&gt;
25    &lt;/target&gt;
26
27&lt;/project&gt;    
28

Associated revisions

Revision fa7bd1c7
Added by Eric Davis at 2009-05-03 11:25 pm

Added the ability to copy a project in the Project Administration panel.

  • Added Copy project button.
  • Added Project#copy_from to duplicate a project to be modified and saved by the user
  • Added a ProjectsController#copy based off the add method
    • Used Project#copy_from to create a duplicate project in memory
  • Implemented Project#copy to copy data for a project from another and save it.
    • Members
    • Project level queries
    • Project custom fields
  • Added a plugin hook for Project#copy.

    #1125 #1556 #886 #309

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2704 e93f8b46-1217-0410-a6f0-8f06a7374b81

History

Updated by Felix Schäfer at 2012-02-15 12:54 pm

This rather looks like an error in some parsing done in ChiliProject stopping at the opening @@ tag. Korny, could you confirm it's on our side rather than in CodeRay if you have a minute? Thanks! Ruben, do you know if this happens with earlier 1.0.x versions of CodeRay?

Updated by Ruben Willems at 2012-02-15 01:53 pm

The only thing I can say is that in our previous Chiliproject wiki installation (v2.2.0) the same broken layout happened,
that had a Coderay of 0.9.7

I know that on the old Coderay page, the same problem existed,
that's one of the reasons we upgraded to the 3.0, because the coderay 1.0.0 seems to fix the problem.

But I have no knowledge that coderay 1.0.3 did had the problem, sorry ...

Updated by Kornelius Kalnbach at 2012-02-16 01:51 am

From my understanding, this is not a CodeRay bug, rather a problem with the patch to integrate 1.0.x with Redmine/ChiliProject.

Updated by Felix Schäfer at 2012-02-16 07:21 am

That's what I feared, thanks for having a look nonetheless :-)

Updated by Ruben Willems at 2012-11-08 12:17 pm

Any news on this issue?

Also available in: Atom PDF