Sotera / graphene-enron

Apache License 2.0
2 stars 3 forks source link

From and To fields are not showing up in Emails tab #6

Open danieljue opened 10 years ago

danieljue commented 10 years ago

Probably the wrong field is being sent back over the rest service, or the data name on the serialized field and the one the javascript wants has is not synchronized.

danieljue commented 10 years ago

This is a combination of server side and front end, but may be fixed by modifying the server side only.

This looks like lines 68 and 69 of TFR_Grid.js under enron is looking for field names which are not being passed back:

{header: 'From', width:240, dataIndex: 'acname_sender', sortable:true},// 1 {header: 'To', width:240, dataIndex: 'acname_receiver', sortable:true},// 1

We have sender and receiver ids, which are now numbers instead of the actual text (i.e. email addresses). We could potentially resolve the email addresses or names and put them in the directedEvent objects before sending them back to the server.

This is a sample REST url:

http://localhost:8080/graphene-enron-web/rest/getEvents?_dc=1403232694519&fromdt=&todt=&accountNumber=2&minAmount=&maxAmount=&comments=&unit=&page=1&start=0&limit=2000

danieljue commented 10 years ago

Related and stemming from #1