Menu

#13 NcidPop Reverse Lookup and long digit phone numbers

v1.0_(example)
closed
1
2015-09-19
2015-04-13
eikaff
No

BUG N.1: With 2 digits $NPA phone number, reverse lookup is not working, browser link is not opening at all. Example number: 081 11 22 33
BUG N.2: With unconventional 11 digits phone number first 0 is cutted out, so not displaying full number.
Example: Number is 081 111 222 33, ncidpop displays 81 111 222 33.

Thanks.

Discussion

  • eikaff

    eikaff - 2015-04-13

    Probably first problem is in NumberformatUtilities.java because minimum number lenght is 10 and it's a 9 digits number.

    if (numberValid && (number.length() >= 10))
    {
    String prefix = number.substring(0, number.length() - 10);
    String suffix = new String(number.substring(number.length() - 10,
    number.length()));

     

    Last edit: eikaff 2015-04-13
  • Chris Lenderman

    Chris Lenderman - 2015-04-13

    Hi eikaff,

    If you would like to display more than 10 numbers, insert a $PRE into the number format string.

    Your analysis is correct on numbers less than 10 numbers not working for websites. Good catch! I will fix for next release. Please visit the NCIDpop website at http://ncid.sourceforge.net/ncidpop/ncidpop.html and click "email developer" if you'd like an advanced release of the next version.

     
  • John L. Chmielewski

    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel