Bug 33793 - Kupu integration is broken
Summary: Kupu integration is broken
Status: RESOLVED FIXED
Alias: None
Product: Lenya
Classification: Unclassified
Component: Kupu Integration (show other bugs)
Version: 2.0
Hardware: All All
: P1 critical
Target Milestone: 2.0
Assignee: Lenya Developers
URL:
Keywords:
Depends on: 33794
Blocks:
  Show dependency tree
 
Reported: 2005-03-01 18:47 UTC by Torsten Schlabach
Modified: 2007-07-16 01:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Schlabach 2005-03-01 18:47:30 UTC
Trying to edit a document with Kupu, an exceptions is thrown:

java.io.FileNotFoundException:
/home/torsten/eclipse/lenya-1.4-world/apache-lenya-1.4-dev-bug33661/build/lenya/webapp/resources/kupu/apache-lenya/lenya/kupumacros.xsl
(No such file or directory)

The file is searched for in the wrong directory in fact, as the correct path
would be

$LENYA_WEBAPP/lenya/resources/kupu ... not
$LENYA_WEBAPP/resources/kupu ...

Interesting enough, the kupumacros.html (note the extension) which lives in the
very same directory is found using the very same fallback:// URI in
usecase-kupu.xmap:

<map:generate
  src="fallback://resources/kupu/apache-lenya/kupu/kupumacros.html"/>
<map:transform 
  src="fallback://resources/kupu/apache-lenya/lenya/kupumacros.xsl">
Comment 1 Torsten Schlabach 2005-03-01 18:52:15 UTC
(In reply to comment #0)
> Interesting enough, the kupumacros.html (note the extension) which lives in the
> very same directory is found using the very same fallback:// URI in
> usecase-kupu.xmap:
> 
> <map:generate
>   src="fallback://resources/kupu/apache-lenya/kupu/kupumacros.html"/>
> <map:transform 
>   src="fallback://resources/kupu/apache-lenya/lenya/kupumacros.xsl">

No, it's not found. Obviously Cocoon is setting up the transformer first. Once
this is fixed it complains about the src of map:generate. This makes it less of
a miracle.
Comment 2 Gregor J. Rothfuss 2005-03-21 04:22:20 UTC
kupu now loads, but there are other problems..
Comment 3 Thorsten Scherler 2007-07-16 01:58:54 UTC
Renaming Lenya 1.4 to 2.0