You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2006/03/11 20:09:34 UTC

Uploading ODT fails

Hi

I receive the following exception when I try to upload an ODT

String index out of range: -1

org.apache.cocoon.ProcessingException: Error calling continuation at 
file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecases/usecases.js:257:-1 
at <map:call> - 
file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecases/usecase.xmap:95:39 
at <map:mount> - 
file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecase.xmap:56:128 
at <map:mount> - 
file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/global-sitemap.xmap:321:105 
at <map:mount> - 
file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/sitemap.xmap:612:106

cause: java.lang.StringIndexOutOfBoundsException: String index out of 
range: -1

Any idea?

Btw, how can I change the name of the upload button resp. replace "New 
asset" by "Upload ODT"?

Thanks

Michi


-- 
Michael Wechner
Wyona      -   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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Uploading ODT fails

Posted by Michael Wechner <mi...@wyona.com>.
Thorsten Scherler wrote:

>El sáb, 11-03-2006 a las 20:09 +0100, Michael Wechner escribió:
>  
>
>>Hi
>>
>>I receive the following exception when I try to upload an ODT
>>
>>String index out of range: -1
>>
>>org.apache.cocoon.ProcessingException: Error calling continuation at 
>>file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecases/usecases.js:257:-1 
>>at <map:call> - 
>>file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecases/usecase.xmap:95:39 
>>at <map:mount> - 
>>file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecase.xmap:56:128 
>>at <map:mount> - 
>>file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/global-sitemap.xmap:321:105 
>>at <map:mount> - 
>>file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/sitemap.xmap:612:106
>>
>>cause: java.lang.StringIndexOutOfBoundsException: String index out of 
>>range: -1
>>
>>Any idea?
>>    
>>
>
>Have to look at it. Did you check whether the problem is with the
>current meta data stuff?
>  
>

what has actually changed there? Btw, the blog "homepage" is running 
again with the
meta file at the correct location

>It was working fine when I checked it in.
>  
>

I know ;-) Jann has confirmed it ...

>  
>
>>Btw, how can I change the name of the upload button resp. replace "New 
>>asset" by "Upload ODT"?
>>
>>    
>>
>
>In the module usecase view.
>
>lenya-trunk/src/modules/opendocument/usecases/upload.jx
>  
>

ok, thanks. Will adapt it.

Michi

>  
>
>>Thanks
>>
>>Michi
>>
>>
>>    
>>


-- 
Michael Wechner
Wyona      -   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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Uploading ODT fails

Posted by Thorsten Scherler <th...@apache.org>.
El sáb, 11-03-2006 a las 20:09 +0100, Michael Wechner escribió:
> Hi
> 
> I receive the following exception when I try to upload an ODT
> 
> String index out of range: -1
> 
> org.apache.cocoon.ProcessingException: Error calling continuation at 
> file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecases/usecases.js:257:-1 
> at <map:call> - 
> file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecases/usecase.xmap:95:39 
> at <map:mount> - 
> file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/lenya/usecase.xmap:56:128 
> at <map:mount> - 
> file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/global-sitemap.xmap:321:105 
> at <map:mount> - 
> file:/home/michi/src/apache/lenya/trunk/build/lenya/webapp/sitemap.xmap:612:106
> 
> cause: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: -1
> 
> Any idea?

Have to look at it. Did you check whether the problem is with the
current meta data stuff?

It was working fine when I checked it in.

> 
> Btw, how can I change the name of the upload button resp. replace "New 
> asset" by "Upload ODT"?
> 

In the module usecase view.

lenya-trunk/src/modules/opendocument/usecases/upload.jx

> Thanks
> 
> Michi
> 
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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