Quote Originally Posted by birdman View Post
It's a fix for something - although the actual fix should be more like:
Code:
 retValue = extdesc1 == extdesc2 
with relevant handling of any Null values.
However, that something is only a small subset of cases - it's not going to have any effect on most of the cases in this thread.
What a fix should do is to prevent a bypassed check 3 from altering the result of check 2. Currently test 2 (short description similarity check) could indicate that the two strings are similar and on its own would set retvalue = true. However when there is no extended description, and no further test, retvalue immediately gets set as false.

This doesn't "cure" the problem of the small number of problem epg description cases in this thread but it does results in consistant results when, and if, the third test is user requested but cannot be performed because there is no additional data on which to base a comparison.