dhenry-KCI / TMDL-_Tracking-Widget

TMDL Tracking Widget
0 stars 0 forks source link

Phase II - SHA DEV - potential tree sites display 1 contract, while the tab is actually null #180

Closed BrittanyHuber closed 9 years ago

BrittanyHuber commented 9 years ago

Possible DB Issue -

TMDL Strategies > Tree Planting > site name 080215UT-A Contract (1) > no contract associated When a contract is added the indicator number displays 1 still. when a second contract is added the indicator number flashes (3) then goes to (2)

GraceAi commented 9 years ago

@BrittanyHuber, I can't find this strategy. Can you provide more information? Thanks!

BrittanyHuber commented 9 years ago

@GraceAi - the site is in district 5 - Charles County. This issue should persist with any of these tree sites with a status of "Proposed" or "Potential." It does not necessarily have to be the exact site I used as an example. If you still cant find one let me know! Thanks

GraceAi commented 9 years ago

@BrittanyHuber, I can't find a planting tree with a status of 'Potential' on KCI DEV. For the planting tree with a status of 'Proposed', it seems working.

BrittanyHuber commented 9 years ago

@GraceAi this is present in SHA DEV.

TaraF commented 9 years ago

Cannot find that SITE_NAME value in LUCHANGE_BMP in the database. Can you be more specific about your selection process so we can replicate it exactly? (You don't state a selection criteria -- district =? or county?)

BrittanyHuber commented 9 years ago

@TaraF I apologize, I thought I left the comment that it is District 5 > Charles county. Let me know if you cant find it and I will either find an different example or do a screen share.

TaraF commented 9 years ago

Grace -- I think the issue is when there is no contract associated, the count will still say (1) on the Contracts tab. It probably then causes an issue with the count when adding one. I found one without a contract behaving in this way, that you could test in KCI dev:

TMDL Strategies --> Planting Trees --> District 3 TMDL = 160104UT (can just sort by the Contract column, it is the only empty one)

GraceAi commented 9 years ago

@ehsan67, for the example Tara provided(TMDL activity id is '1c514530-2724-4c2a-9741-e0f0849ed628'), the contract count returned is 1. But there is no contract number info for this contract. Can you take a look at database? Thanks.

ehsan67 commented 9 years ago

Fixed. Please test it again.

BrittanyHuber commented 9 years ago

verified that this is working in KCI DEV

BrittanyHuber commented 9 years ago

verified that this is working in SHA DEV