Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-1339

usage reporting in JBDS has wrong texts and is reported as JBoss Tools instance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 4.0.0.Beta1
    • 4.0.0.M2
    • None
    • None
    • Low

    Description

      The current Usage reporting plugin does not recognize correctly if it's running in a JBDS instance. The texts in the first-start dialog "please allow us to report usage to JBoss Tools team" and preference page do not show Red Hat Inc / JBoss Developer Studio. Furthermore it hits the wrong Google Analytics account.

      The reason for it is that the product id is checked against a bad value:

      "com.jboss.jbds.product.feaure"

      it should be checked against

      "com.jboss.jbds.product.product"

      Fixing it consists in changing a string constant in JBDSConstants. I attach a patch.

      I unfortunately only checked the code by uncommenting the detection and did not install it into a JBDS build. It did this now and discovered the flaw.

      Attachments

        Activity

          People

            manderse@redhat.com Max Andersen
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: