You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by es <es...@javanet.info> on 2005/01/25 11:14:10 UTC

bugs in default pub already fixed?

Greetings,
as people here may already be aware, there are 2 bug in the default pub 
bundled with lenya 1.2.1
the weird thing is that both seems to be already _solved_ in the 
unizurich online sandbox:
http://cms.unizh.ch:8080/lenya/sandbox

1) You can't save/edit/delete with Forms Editor this is the error
this bug may be related
http://issues.apache.org/bugzilla/show_bug.cgi?id=32543

Attribute name "tagID" associated with an element type "html" must be 
followed by the ' = ' character.

2) You can't "view" an old revision of a document this is the error:
I filed a bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=33225

Error compiling view_xsp: ERROR 1 
(org/apache/cocoon/www/lenya/content/rc/view_xsp.java): ... ; String 
rootDir=publication.getEnvironment().getPublicationPath(); String 
servletContextPath = publication.getServletContext().getCanonicalPath(); 
// start error (lines 138-138) "The static field 
Publication.CONTENT_PATH should be accessed in a static way" String 
contextPath = publication.CONTENT_PATH; // end error String area = ( 
String.valueOf(this._xsp_module_helper.getAttribute(objectModel, 
"page-envelope","area","")) ... Line 138, column 0: The static field 
Publication.CONTENT_PATH should be accessed in a static way


But in the unitemplate the 2) still persist :( and 1) seems working good

What should I do? Can the wyona put the sand in some box?

Besides this the unitemplate pub is a good example of modularization.
The clone tool that comes along is very usefull aswell.
I advice to anyone starting up to take a close look at this pub!!!
Speaking about cloning there is a small bug in the build.xml:ac.xconf
here snippet fixed:
     <echo>INFO: Change context in ac.xconf</echo>
     <xslt
         in="${source.dir}/config/ac/ac.xconf"
         out="${destination.dir}/config/ac/ac.xconf" style="ac-xconf.xsl">

<param name="publicationName" expression="${new.publication.name}"/>
       <!--   IT WAS
<param name="publicationName" expression="${new.publication.prefix}"/> 
           -->
       <param name="templatePublication" 
expression="${old.publication.prefix}"/>
     </xslt>

another small bug in default pub is the crawler ant task dumping also 
the path not from / I'll look into it... for now ciao
Eli

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


Re: bugs in default pub already fixed?

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
es wrote:

> Great Gregor you are really fast!
> Unfortunatly I co the cvs head and still get the same error :(

?? you mean svn update the 1.2 branch?


-- 
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: bugs in default pub already fixed?

Posted by es <es...@javanet.info>.
Gregor J. Rothfuss wrote:
 > es wrote:
 >
 >> 2) You can't "view" an old revision of a document this is the error:
 >> I filed a bug:
 >> http://issues.apache.org/bugzilla/show_bug.cgi?id=33225
 >
 >
 > i just fixed this
 >

Great Gregor you are really fast!
Unfortunatly I co the cvs head and still get the same error :(

While you are on this can you please see why the history doesn't get 
modified at the first version? I mean, when you modify for the first 
time the initial version doesn't show up; only after you modify the 
document twice is possible to roll back.

thanks in advance
Eli

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


Re: bugs in default pub already fixed?

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
es wrote:

> 2) You can't "view" an old revision of a document this is the error:
> I filed a bug:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=33225

i just fixed this


-- 
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: bugs in default pub already fixed?

Posted by Jann Forrer <ja...@id.unizh.ch>.
On Tue, 25 Jan 2005, es wrote:

> Greetings,
> as people here may already be aware, there are 2 bug in the default pub
> bundled with lenya 1.2.1
> the weird thing is that both seems to be already _solved_ in the
> unizurich online sandbox:
> http://cms.unizh.ch:8080/lenya/sandbox
>

This publication is still based on the 1.2 Version of lenya. We will
upgrade soon id we can solve the problem you also mentioned below

> 1) You can't save/edit/delete with Forms Editor this is the error
> this bug may be related
> http://issues.apache.org/bugzilla/show_bug.cgi?id=32543
>

This seems to work for the default publication in Versions 1.2.x. It seesm
that this problem is solved for the default publication.


> Attribute name "tagID" associated with an element type "html" must be
> followed by the ' = ' character.
>
> 2) You can't "view" an old revision of a document this is the error:
> I filed a bug:

>
> What should I do? Can the wyona put the sand in some box?
>
As is said the sandbox publication ist still lenya 1.2

> Besides this the unitemplate pub is a good example of modularization.
> The clone tool that comes along is very usefull aswell.
> I advice to anyone starting up to take a close look at this pub!!!
> Speaking about cloning there is a small bug in the build.xml:ac.xconf
> here snippet fixed:
>      <echo>INFO: Change context in ac.xconf</echo>
>      <xslt
>          in="${source.dir}/config/ac/ac.xconf"
>          out="${destination.dir}/config/ac/ac.xconf" style="ac-xconf.xsl">
>
> <param name="publicationName" expression="${new.publication.name}"/>
>        <!--   IT WAS
> <param name="publicationName" expression="${new.publication.prefix}"/>
>            -->
>        <param name="templatePublication"
> expression="${old.publication.prefix}"/>
>      </xslt>
>

This is not a bug. It has to be ${new.publication.prefix}. The
parameter name (publicationName) is somehow misleading. The ac-xconf.xsl
changes e.g.:

<parameter name="directory"
value="context:///lenya/pubs/unitemplate/config/ac/passwd"/>

to

<parameter name="directory"
value="context:///lenya/pubs/physik/config/ac/passwd"/>

and physik is the new.publication.prefix.

On the other hand the new.publication.name could be Physics Institute


Jann

---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zuerich

oooO   mail:  jann.forrer@id.unizh.ch
(  )   phone: +41 1 63 56772
 \ (   fax:   +41 1 63 54505
  \_)  http://www.id.unizh.ch

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