CUAHSI / CUAHSI/HydroServerLite

MVC - Add Site doesn't work when state has no counties

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
CodePlex
Dominant language
PHP
Stars
7
Forks
6
PR merge metrics
No merged PRs in 30d

Description

jirikadlec2[CodePlex]
In the page /sites/add
I add a site. The site is outside the U.S so I set the State to International. The County: field shows quotThis state has no counties.quot When I click quotAdd Sitequot I get a message quotPlease select a Countyquot. So this is an error and I can't
add the site.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the /sites/add page and reproduce the issue by selecting International, confirming that submission still requires a county when the state has no counties. Trace the county validation used by Add Site; done means sites outside the U.S. can be added without a county while states with counties still require one.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.