ucd-cws / PISCES

Software for tracking and analyzing fish species range data
Other
0 stars 2 forks source link

maps generation failing when species doesn't have a scientific name #85

Closed nickrsan closed 9 years ago

nickrsan commented 9 years ago

Original report by AndyB (Bitbucket: AndyB, GitHub: AndyB).


Maps are unable to generate when there is no scientific_name (inverts for example - data is at the family level so nothing is filled in for the scientific name). Caching layers works. Map probably is failing on generation when it is trying to fill in the {Scientific Name} bind variable as the text field in the map document.

2014-10-20 10_02_01-Generate Map.png

nickrsan commented 9 years ago

Original comment by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


OK, I think I've coded the fix for this - if I test it with any invert, that should reproduce, right?

nickrsan commented 9 years ago

Original comment by AndyB (Bitbucket: AndyB, GitHub: AndyB).


Any invert or try ZZZ01 which is a temp species placeholder.

nickrsan commented 9 years ago

Original comment by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


closes #85 - when the value doesn't exist, sets replacement string to a space initial code for #83