Originally posted by lux-ad-artem TL; DR - When the zoom ring of my Tamron 17-50 Di-LD II is rotated to its widest point, my Pentax K20D records the focal length as 45mm instead of 17mm. If I rotate the zoom ring just slightly away from its widest point, it records a focal length of 17mm. It's much like I'm simply breaking a circuit or something.
It's either a camera issue, lens issue, or camera-lens communication issue.
To eliminate the camera, try another lens. If all works fine, scratch one.
To eliminate the camera-lens communication, clean up the contacts on the camera mount and lens mount. If all works fine, this was it.
If not, you're left with a lens issue. Tamron lenses have a 6 year warranty, so you should contact them first. If you cannot get warranty coverage, you can either try to open the mount yourself and see if you can figure out the issue, or you can take it to a local camera shop for repair.