Didactor

legacy constraint on mmevent in listleft.jsp does not work in 1.8

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.2.0
  • Fix Version/s: 2.3.0
  • Component/s: education
  • Description:
    Hide
    listleft.jsp contains

     <mm:import id="nowtime" reset="true" jspvar="nowtime"><mm:time time="now"/></mm:import>
     <%
     String constarint2 ="(mmevents.start <= "+nowtime+") AND (mmevents.stop >= "+nowtime+") ";
     %>
     <mm:related path="mmevents" constraints="<%= constarint2 %>">

    under MMBase 1.8 this does not work anymore
    Show
    listleft.jsp contains  <mm:import id="nowtime" reset="true" jspvar="nowtime"><mm:time time="now"/></mm:import>  <%  String constarint2 ="(mmevents.start <= "+nowtime+") AND (mmevents.stop >= "+nowtime+") ";  %>  <mm:related path="mmevents" constraints="<%= constarint2 %>"> under MMBase 1.8 this does not work anymore

Activity

Hide
Michiel Meeuwissen added a comment - 2007-03-29 10:50
In that case, it is not a Didactor bug, but an MMBase bug.

Anyhow, it seems worth the trouble to replace that stuff with something more elegant....
Show
Michiel Meeuwissen added a comment - 2007-03-29 10:50 In that case, it is not a Didactor bug, but an MMBase bug. Anyhow, it seems worth the trouble to replace that stuff with something more elegant....

People

Dates

  • Created:
    2007-03-22 23:57
    Updated:
    2007-03-29 10:50