OCHA-DAP/DAP-System — pull request #6 by cjhendrix (2014-01-24 12:12:47+00:00)
Title: Addi18n to source

Added Text to Source.name using IndicatorType.name as a model. This is ready to be merged. All tests pass and I have deployed to localhost and tested the relevant interface components.

I did not add the setup/teardown to IntegrationTestSetUpAndTearDown as we discussed. Since Text.defaultValue is not unique, It seems to me that we don't have a reliable way to retrieve the correct text object if it is not created at the same time as whatever object is being tested (Source for example). Perhaps this points to a flaw in our design for Text (or more likely to a flaw in my understanding)?

Anyway, all tests pass, the 2_schema.ddl is deployed, the 3_sample.sql contains the necessary additions, and the JSPs correctly call the joined Text.deafultValues.

I also fixed the calls for names in a couple of the chart JSPs. This works, but hard to test without importing SW data. I didn't do this since I"m not sure you are expecting the AI JSPs to work at the moment.