On 05/28/2010 10:54 AM, Vincent Massol wrote:
> Hi Marius,
>
> On May 27, 2010, at 9:21 AM, Marius Dumitru Florea wrote:
>
>> Hi Rex,
>>
>> On 05/27/2010 05:05 AM, Rex Wang wrote:
>>> Dear forum,
>>>
>>> I am new to xwiki.
>>> Today I setup a xwiki (2.3) and have a try.
>>>
>>
>>> When I tried to create a new space with the "Create" button on the
>>> Dashboard, I got an error page "Notice This document already exists." The
>>> same result using the create button on "New Page" panel. However, I was able
>>
>> This is a regression that could have been caught on time if we had a
>> functional test.
>

> Have you created a jira issue for this?

Not yet. I'm not sure what to fix: Main.Spaces and Panels.NewPage ( 
http://jira.xwiki.org/jira/browse/XE/component/10387 and 
http://jira.xwiki.org/jira/browse/XAPANELS/component/10489 ) or 
create.vm ( http://jira.xwiki.org/jira/browse/XWIKI/component/10022 )

WDYT?

Thanks,
Marius

>
> Thanks
> -Vincent
>
>>
>> The code for creating a new space/page is in create.vm . Recent changes
>> made it expect a 'page'/'space' request parameter, while Main.Spaces and
>> Panels.NewPage send the name of the new space/page in the 'title' parameter.
>>
>> For Main.Spaces a quick fix is to replace name="title" with name="space"
>> in the create space form, but this won't work with Panels.NewPage
>> because there the entity to create depends on the value of the
>> 'tocreate' select.
>>
>> In order to fix create.vm we need to decide if the required parameter is
>> 'title' or 'space'/'page'. Right now 'space'/'page' is required, 'title'
>> defaulting on 'space'/'page' when not present.
>>
>> Thanks,
>> Marius
>>
>>> to create a space with the Xwiki menu (I was using the default sking) and
>>> typing the space name in URL address (XXX/bin/view/NewPage/).
>>>
>>> Tried XE 2.2.6, there was no such problem.
>>>
>>> I checked the xwiki.log under Tomcat folder, there was no error message. (Is
>>> this right log to check error?)
>>>
>>> Any idea on this?
>>>
>>> My setup:
>>> Windows 2008 (Simplified Chinese, 32bit)
>>> MySQL 5.1.45
>>> Tomcat 6.0.26
>>>
>>> Thanks.
>>> Rex
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to