You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by David Pedowitz <da...@alishabeth.com> on 2005/11/14 18:51:11 UTC

Kupu fails to save without error

I've got a working build of the current trunk of apache lenya.  Editing 
a doc in Kupu looks fine, then when I hit save the page flashes and the 
changes go away.  Nothing seems to be logged.

Any Ideas.

Dave

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


Re: Kupu fails to save without error

Posted by David Pedowitz <da...@alishabeth.com>.
kupusave.xsl validates fine...

solprovider@gmail.com wrote:

>On 11/14/05, David Pedowitz <da...@alishabeth.com> wrote:
>  
>
>>I've got a working build of the current trunk of apache lenya.  Editing
>>a doc in Kupu looks fine, then when I hit save the page flashes and the
>>changes go away.  Nothing seems to be logged.
>>
>>Any Ideas.
>>    
>>
>
>That usually means there is a mistake in an XSL page.  Try opening:
>\build\lenya\webapp\lenya\resources\kupu\apache-lenya\lenya\kupusave.xsl
>in a web browser.  Both MSIE and Mozilla will complain if the XML is bad.
>
>solprovider
>
>
>.
>
>  
>

Re: Kupu fails to save without error

Posted by David Pedowitz <da...@alishabeth.com>.
Acutally, bug already exists:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36298

Thanks so much for your help!  I'm currently working on a Lenya proof of 
concept and Kupu seems like an excellent WYSIWYG for the editors.

Doug Chestnut wrote:

> Hi David,
> Can you file a Bug,  I will take a look at it this evening.  I think 
> that I just need to make modules/xhtml/xslt/clean-xhtml.xsl [which 
> transforms the input before validation] more like kupusave.xsl.
>
> --Doug
>
> David Pedowitz wrote:
>
>> I grabbed Dougs latest changes and now I get the following:
>>     Default Publication -  Kupu save throws a 415 error
>>     New Pub (created via 'new publication') fails to save without 
>> error or message
>>
>>
>>
>> solprovider@gmail.com wrote:
>>
>>> On 11/14/05, David Pedowitz <da...@alishabeth.com> wrote:
>>>  
>>>
>>>> I've got a working build of the current trunk of apache lenya.  
>>>> Editing
>>>> a doc in Kupu looks fine, then when I hit save the page flashes and 
>>>> the
>>>> changes go away.  Nothing seems to be logged.
>>>>
>>>> Any Ideas.
>>>>   
>>>
>>>
>>> That usually means there is a mistake in an XSL page.  Try opening:
>>> \build\lenya\webapp\lenya\resources\kupu\apache-lenya\lenya\kupusave.xsl 
>>>
>>> in a web browser.  Both MSIE and Mozilla will complain if the XML is 
>>> bad.
>>>
>>> solprovider
>>>
>>>
>>> .
>>>
>>>  
>>>
>
> ---------------------------------------------------------------------
> 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: Kupu fails to save without error

Posted by Doug Chestnut <dh...@virginia.edu>.
Hi David,
Can you file a Bug,  I will take a look at it this evening.  I think 
that I just need to make modules/xhtml/xslt/clean-xhtml.xsl [which 
transforms the input before validation] more like kupusave.xsl.

--Doug

David Pedowitz wrote:
> I grabbed Dougs latest changes and now I get the following:
>     Default Publication -  Kupu save throws a 415 error
>     New Pub (created via 'new publication') fails to save without error 
> or message
> 
> 
> 
> solprovider@gmail.com wrote:
> 
>>On 11/14/05, David Pedowitz <da...@alishabeth.com> wrote:
>>  
>>
>>>I've got a working build of the current trunk of apache lenya.  Editing
>>>a doc in Kupu looks fine, then when I hit save the page flashes and the
>>>changes go away.  Nothing seems to be logged.
>>>
>>>Any Ideas.
>>>    
>>>
>>
>>That usually means there is a mistake in an XSL page.  Try opening:
>>\build\lenya\webapp\lenya\resources\kupu\apache-lenya\lenya\kupusave.xsl
>>in a web browser.  Both MSIE and Mozilla will complain if the XML is bad.
>>
>>solprovider
>>
>>
>>.
>>
>>  
>>

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


Re: Kupu fails to save without error

Posted by David Pedowitz <da...@alishabeth.com>.
I grabbed Dougs latest changes and now I get the following:
    Default Publication -  Kupu save throws a 415 error
    New Pub (created via 'new publication') fails to save without error 
or message



solprovider@gmail.com wrote:

>On 11/14/05, David Pedowitz <da...@alishabeth.com> wrote:
>  
>
>>I've got a working build of the current trunk of apache lenya.  Editing
>>a doc in Kupu looks fine, then when I hit save the page flashes and the
>>changes go away.  Nothing seems to be logged.
>>
>>Any Ideas.
>>    
>>
>
>That usually means there is a mistake in an XSL page.  Try opening:
>\build\lenya\webapp\lenya\resources\kupu\apache-lenya\lenya\kupusave.xsl
>in a web browser.  Both MSIE and Mozilla will complain if the XML is bad.
>
>solprovider
>
>
>.
>
>  
>

Re: Kupu fails to save without error

Posted by Doug Chestnut <dh...@virginia.edu>.
Actually, in the trunk, kupu save didn't even work at all [returned 500 
errors] until last week when I changed the kupu conf to use the webDAV 
PUT usecase [we shouldn't have to have a different PUT usecase for each 
editor].

what is in kupusave.xsl should be moved to 
modules/xhtml/xslt/clean-xhtml.xsl.

I will take a look, it should return an error [non 200 error code] if 
there are problems.

--Doug

solprovider@gmail.com wrote:
> On 11/14/05, David Pedowitz <da...@alishabeth.com> wrote:
> 
>>I've got a working build of the current trunk of apache lenya.  Editing
>>a doc in Kupu looks fine, then when I hit save the page flashes and the
>>changes go away.  Nothing seems to be logged.
>>
>>Any Ideas.
> 
> 
> That usually means there is a mistake in an XSL page.  Try opening:
> \build\lenya\webapp\lenya\resources\kupu\apache-lenya\lenya\kupusave.xsl
> in a web browser.  Both MSIE and Mozilla will complain if the XML is bad.
> 
> solprovider
> 
> ---------------------------------------------------------------------
> 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: Kupu fails to save without error

Posted by David Pedowitz <da...@alishabeth.com>.
Interesting... saving is working in the default pub but not my new pub

solprovider@gmail.com wrote:

>On 11/14/05, David Pedowitz <da...@alishabeth.com> wrote:
>  
>
>>I've got a working build of the current trunk of apache lenya.  Editing
>>a doc in Kupu looks fine, then when I hit save the page flashes and the
>>changes go away.  Nothing seems to be logged.
>>
>>Any Ideas.
>>    
>>
>
>That usually means there is a mistake in an XSL page.  Try opening:
>\build\lenya\webapp\lenya\resources\kupu\apache-lenya\lenya\kupusave.xsl
>in a web browser.  Both MSIE and Mozilla will complain if the XML is bad.
>
>solprovider
>
>
>.
>
>  
>

Re: Kupu fails to save without error

Posted by so...@gmail.com.
On 11/14/05, David Pedowitz <da...@alishabeth.com> wrote:
> I've got a working build of the current trunk of apache lenya.  Editing
> a doc in Kupu looks fine, then when I hit save the page flashes and the
> changes go away.  Nothing seems to be logged.
>
> Any Ideas.

That usually means there is a mistake in an XSL page.  Try opening:
\build\lenya\webapp\lenya\resources\kupu\apache-lenya\lenya\kupusave.xsl
in a web browser.  Both MSIE and Mozilla will complain if the XML is bad.

solprovider

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