On clicking the "Edit" button in the traits' page (/show_trait?...), the sample data is supposed to appear at the bottom of the page for editing. This is not happening locally.
gives back an empty `sample_list`
The code was fetching the configurations from the environment, which is not always set. Change the code to fetch configurations from the application object.