Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<dlm:fragment name='Test' ownerID='test-lo' precedence='80'>
   <dlm:audience evaluatorFactory='org.jasig.portal.layout.dlm.providers.GroupMembershipEvaluatorFactory'>
     <attribute mode='memberOf' name='Students'/>
   </dlm:audience>

Helpful Error Reporting

Error reporting for the following configuration options must be helpful enough the user shouldn't have to email the mailing list to find out what is wrong. Also, ant should fail-fast and report an error to the user. Helpful errors shouldn't hide stack traces.

  • incorrect db connection configuration (username,password or connection)
  • missing jar for jdbc connection
  • database server not responding
  • malformed xml in a chanpub file