Changeset 1539

Show
Ignore:
Timestamp:
08/27/07 00:32:47
Author:
douglm
Message:

Discovered it was possible to manufacture a url that updated an event we did not have access to. Turned out to be a small change but changed other uses of the access routines to avoid similar problems.

NOTE: we may need to ensure rollbacks with hibernate. Some db updates take place as we modify the entity.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build.xml

    r1442 r1539  
    724724           target="build-all" /> 
    725725 
     726    <copy-special-to-dependent this="${org.bedework.project.webapps}" 
     727                       target="${org.bedework.project.testsuite}" 
     728                       prefix="bw-appcommon" /> 
     729 
    726730    <copy-to-bin this="${org.bedework.project.webapps}"/> 
    727731  </target> 
  • trunk/deployment/testsuite/shellscr/build.xml

    r1292 r1539  
    5353    <!-- from  the bin directory --> 
    5454    <fileset id="app.bin.files" dir="${bin.home}" > 
     55      <include name="bw-appcommon*.jar"/> 
    5556      <include name="bw-testsuite*.jar" /> 
    5657    </fileset> 
  • trunk/deployment/testsuite/shellscr/resources/bwruntest.sh

    r1292 r1539  
    55# JAVA_HOME needs to be defined 
    66 
    7 cp=@CP@ 
     7cp=.:./classes:./resources 
     8 
     9for i in lib/* 
     10  do 
     11    cp=$cp:$i 
     12done 
    813 
    914RUNCMDPREFIX="$JAVA_HOME/bin/java -cp $cp "