You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Lee Carroll <le...@aol.com> on 2005/02/06 01:29:54 UTC

The area [authoring%20] is not valid!

Whilst trying to edit metadata I get the following error

java.lang.IllegalArgumentException: The area [authoring%20] is not valid!
    at 
org.apache.lenya.cms.publication.DefaultDocument.setArea(DefaultDocument.java:270)


Running lenya 1.2.1 src version.

I've searched the mailing lists as i'm sure I recall this but can't find a 
reference to it.

I'm guessing some where has a space in a reference to authoring. Any Ideas

Lee C 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The area [authoring%20] is not valid!

Posted by Lee Carroll <le...@aol.com>.
I'm running on windows and editing xml files using xmlspy. Perhaps the 
software ?? mind you its not beyond
possibility that i've added the line feed my self

Thanks anyway

Lee C



> i just checked, and that file has no line feed in svn
>
> http://svn.apache.org/viewcvs.cgi/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/config/menus/generic.xsp?rev=151320&view=markup
>
> -- 
> Gregor J. Rothfuss
> COO, Wyona       Content Management Solutions    http://wyona.com
> Apache Lenya                              http://lenya.apache.org
> gregor.rothfuss@wyona.com                       gregor@apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The area [authoring%20] is not valid!

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:
> Lee Carroll wrote:
> 
>> Problem with the publications menu generic.xsp file.
>>
>> Line feed after the area variable

i just checked, and that file has no line feed in svn

http://svn.apache.org/viewcvs.cgi/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/config/menus/generic.xsp?rev=151320&view=markup

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The area [authoring%20] is not valid!

Posted by Lee Carroll <le...@aol.com>.
It was the item which defines the "edit metadata" option when in the 
authoring tab.

lenya version is 1.2.2pdev taken acoupleofweeksagofrom the svn branch


Mine looked like

<item wf:event="edit" uc:usecase="info-meta" uc:step="showscreen">
      <xsp:attribute name="href">
       <xsp-request:get-context-path/>/<input:get-attribute 
module="page-envelope" as="string" 
name="publication-id"/>/info-<input:get-attribute module="page-envelope" 
as="string" name="area"/>
<--- line feed and tab here ---><input:get-attribute module="page-envelope" 
as="string" name="document-url"/>?</xsp:attribute>
      <i18n:text>Edit Metadata</i18n:text>
     </item>

this works

     <item wf:event="edit" uc:usecase="info-meta" uc:step="showscreen">
      <xsp:attribute name="href">
       <xsp-request:get-context-path/>/<input:get-attribute 
module="page-envelope" as="string" 
name="publication-id"/>/info-<input:get-attribute module="page-envelope" 
as="string" name="area"/><input:get-attribute module="page-envelope" 
as="string" name="document-url"/>?</xsp:attribute>
      <i18n:text>Edit Metadata</i18n:text>
     </item>

cheers Lee C






> do you mean here
>
> String area = <input:get-attribute module="page-envelope" as="string" 
> name="area"/>;
>
> ?
>
> Does this pronlem also exist within the SVN 1.2.X branch?
>
> Thanks
>
> Michi
>
>>
>>
>> Cheers
>>
>> Lee C
>>
>>
>>> Whilst trying to edit metadata I get the following error
>>>
>>> java.lang.IllegalArgumentException: The area [authoring%20] is not 
>>> valid!
>>>    at 
>>> org.apache.lenya.cms.publication.DefaultDocument.setArea(DefaultDocument.java:270)
>>>
>>>
>>> Running lenya 1.2.1 src version.
>>>
>>> I've searched the mailing lists as i'm sure I recall this but can't find 
>>> a reference to it.
>>>
>>> I'm guessing some where has a space in a reference to authoring. Any 
>>> Ideas
>>>
>>> Lee C
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> -- 
> Michael Wechner
> Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
> michael.wechner@wyona.com                        michi@apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The area [authoring%20] is not valid!

Posted by Lee Carroll <le...@aol.com>.
It was the item which defines the "edit metadata" option when in the 
authoring tab.

lenya version is 1.2.2pdev taken acoupleofweeksagofrom the svn branch


Mine looked like

<item wf:event="edit" uc:usecase="info-meta" uc:step="showscreen">
      <xsp:attribute name="href">
       <xsp-request:get-context-path/>/<input:get-attribute 
module="page-envelope" as="string" 
name="publication-id"/>/info-<input:get-attribute module="page-envelope" 
as="string" name="area"/>
<--- line feed and tab here ---><input:get-attribute module="page-envelope" 
as="string" name="document-url"/>?</xsp:attribute>
      <i18n:text>Edit Metadata</i18n:text>
     </item>

this works

     <item wf:event="edit" uc:usecase="info-meta" uc:step="showscreen">
      <xsp:attribute name="href">
       <xsp-request:get-context-path/>/<input:get-attribute 
module="page-envelope" as="string" 
name="publication-id"/>/info-<input:get-attribute module="page-envelope" 
as="string" name="area"/><input:get-attribute module="page-envelope" 
as="string" name="document-url"/>?</xsp:attribute>
      <i18n:text>Edit Metadata</i18n:text>
     </item>

cheers Lee C






> do you mean here
>
> String area = <input:get-attribute module="page-envelope" as="string" 
> name="area"/>;
>
> ?
>
> Does this pronlem also exist within the SVN 1.2.X branch?
>
> Thanks
>
> Michi
>
>>
>>
>> Cheers
>>
>> Lee C
>>
>>
>>> Whilst trying to edit metadata I get the following error
>>>
>>> java.lang.IllegalArgumentException: The area [authoring%20] is not 
>>> valid!
>>>    at 
>>> org.apache.lenya.cms.publication.DefaultDocument.setArea(DefaultDocument.java:270)
>>>
>>>
>>> Running lenya 1.2.1 src version.
>>>
>>> I've searched the mailing lists as i'm sure I recall this but can't find 
>>> a reference to it.
>>>
>>> I'm guessing some where has a space in a reference to authoring. Any 
>>> Ideas
>>>
>>> Lee C
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> -- 
> Michael Wechner
> Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
> michael.wechner@wyona.com                        michi@apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The area [authoring%20] is not valid!

Posted by Michael Wechner <mi...@wyona.com>.
Lee Carroll wrote:

> Problem with the publications menu generic.xsp file.
>
> Line feed after the area variable


do you mean here

String area = <input:get-attribute module="page-envelope" as="string" 
name="area"/>;

?

Does this pronlem also exist within the SVN 1.2.X branch?

Thanks

Michi

>
>
> Cheers
>
> Lee C
>
>
>> Whilst trying to edit metadata I get the following error
>>
>> java.lang.IllegalArgumentException: The area [authoring%20] is not 
>> valid!
>>    at 
>> org.apache.lenya.cms.publication.DefaultDocument.setArea(DefaultDocument.java:270) 
>>
>>
>>
>> Running lenya 1.2.1 src version.
>>
>> I've searched the mailing lists as i'm sure I recall this but can't 
>> find a reference to it.
>>
>> I'm guessing some where has a space in a reference to authoring. Any 
>> Ideas
>>
>> Lee C
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The area [authoring%20] is not valid!

Posted by Lee Carroll <le...@aol.com>.
Problem with the publications menu generic.xsp file.

Line feed after the area variable

Cheers

Lee C


> Whilst trying to edit metadata I get the following error
>
> java.lang.IllegalArgumentException: The area [authoring%20] is not valid!
>    at 
> org.apache.lenya.cms.publication.DefaultDocument.setArea(DefaultDocument.java:270)
>
>
> Running lenya 1.2.1 src version.
>
> I've searched the mailing lists as i'm sure I recall this but can't find a 
> reference to it.
>
> I'm guessing some where has a space in a reference to authoring. Any Ideas
>
> Lee C
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org