leeensminger / OED_Wetlands

0 stars 0 forks source link

AddMitSite does not populate 8 digit watershed #36

Closed sfabijanski closed 8 years ago

sfabijanski commented 8 years ago

When adding a new mitigation site, the database does not add an 8 digit watershed. This prevents editing of the site in the application as the empty WATERSHED_8DIG_ID field is marked as nonEditable and validation requires it to be not null. The empty field prevents the user from continuing.

vijme commented 8 years ago

@sfabijanski, the 8 digit watershed is stored in db, but it is not retrieved in the GetMitSites service. assume you are using GetMitSites service to get the mitigation site details too. So, I have edited the getMitSite sp to return all the mitigation_site fields. Let me know if this works.

sfabijanski commented 8 years ago

It looks like the values passed back are the guid ids for the watershed table, not the number codes. I checked the domain for the watersheds and they are passing the numerical codes normally associated with the watersheds.

sfabijanski commented 8 years ago

Looks good. Closing.