Vincent Massol wrote:
> On Jul 20, 2008, at 1:15 AM, Sergiu Dumitriu wrote:
> 
>> Vincent Massol wrote:
>>> Hi Jonas,
>>>
>>> Thanks for noticing this. The problem was that we modified the name  
>>> of
>>> the XWikiSyntax page in our SVN source tree (it's now  
>>> XWikiSyntax.xml)
>>> and we hadn't changed that page's content. To be more precise, the
>>> page you're looking at is generated automatically from the  
>>> XWikiSyntax
>>> page located in our SVN repo. The reason is that we want to ensure we
>>> bundle the exact same syntax page both on xwiki.org and in XE.
>>>
>>> It's working fine now.
>>>
>> Actually not, the error is still there, but only for that link, which
>> uses the wrong action (/viewrev/ instead of /view/). It's a NPE caused
>> by the fact that viewrev needs a version number, which isn't given in
>> the request. The problem line is:
>>
>> String docRevision = context.get("rev").toString();
>>
>> See http://jira.xwiki.org/jira/browse/XWIKI-2573
> 
> I don't get it. The version is still 1.4.x on xwiki.org and it was  
> working fine when I said I had fixed it and it's now failing..
> Any idea? Can we fix the page?
> 

Vincent, the page displays fine using the /view/ action (the default 
one). It fails only with /viewrev/, so I'd say the page works fine under 
normal conditions. I don't know how Jonas got that link, but it 
shouldn't be used.

-- 
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to