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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 4.0.0.M2
    • Fix Version/s: 4.0.0.Beta1
    • Component/s: None
    • Labels:
      None
    • Estimated Difficulty:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                maxandersen Max Andersen
                Reporter:
                adietish André Dietisheim
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: