[EMAIL PROTECTED] wrote:
> Our app-server is Tomcat/4.1.24-LE-jdk14 and MMBase 1.6.3.1.6.3.
> 
> And yes, we use setfield name=title on the page. Do they interfere? The 
> editor couples a pageelement (basically a title and some text) to a 
> menuitem (such as "home" or "our products"). Complete code is:
> <mm:createnode type="pageelement" id="el">
>   <mm:setfield name="title"> sometitle </mm:setfield>
>   <mm:setfield name="abstract"> someabstract </mm:setfield>
>   <mm:setfield name="content"> somecontent </mm:setfield>
>   <mm:setfield name="credate"><%=now%></mm:setfield>
>   <mm:setfield name="moddate"><%=now%></mm:setfield>
> </mm:createnode>
> <mm:createrelation role="posrel" source="menunode" destination="el">
>   <mm:setfield name="pos"><%=crepos%></mm:setfield>
> </mm:createrelation>
> 
> Variable crepos is the maximum existing position plus 1. So a new 
> pageelement always gets added to the end. 

They should not interfere. But well, since something goes wrong, one could
wonder... Can you upgrade to 1.6.5?

Another trick to localize the exception is to put <mm:log />'s in your page,
and look in the log how far it comes. It should be easy to detect like this,
if the exception is actually caused by the <mm:setfield name="pos" or by
something else on the page.


 Michiel


-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL, eo, en_US
mihxil'
[]()

Reply via email to