Uploaded image for project: 'SMB - Optus'
  1. SMB - Optus
  2. OPTUS-82

While adding a keyword with ‘broad match modifier’ (+) option then its throwing exception

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: Backlog
    • Component/s: Customization Service
    • Labels:
      None
    • Environment:

      QA Environment

      Build : optus-ear-1.5.0-SNAPSHOT-p863-t20121017-154716-CI.ear

      Description

      Steps to Reproduce

      Step 1 : Deploy SGS for a customer
      Step 2 : Deploy ADS for above customer
      Step 3 : Login to Brand Campaign UI and enter the Customer ID.
      Step 4 : Click New Keyword in Create New Keywords.
      Step 5 : Try to add ‘broad match modifier’ prefixing the keyword Name.
      Step 6 : Click Save Changes button.

      Throws a exception in UI (Snap Shot attached BroadMatchModifier.jpeg) and in the jboss log (File attached BroadMatchModifier.txt)

      23:09:59,649 ERROR [InvocationHandlerJAXWS] Method invocation failed with exception: null
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      .
      .
      .
      Caused by: java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0
      +\s*keyword
      ^
      at java.util.regex.Pattern.error(Pattern.java:1713)
      at java.util.regex.Pattern.sequence(Pattern.java:1878)

      Expected Result
      Should add to the keyword to the account.

      Actual Result
      Throwing Exception.

        Attachments

        1. BroadMatchModifier.JPG
          127 kB
          Anil Kumar Halmadgi
        2. BroadMatchModifier.txt
          24 kB
          Anil Kumar Halmadgi

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anil.kumar Anil Kumar Halmadgi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: