Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11205

salesforce-maven-plugin generates different classes on 6.3 R12 and 6.3 R13

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: fuse-6.x-GA
    • Component/s: Camel
    • Labels:

      Description

      salesforce-maven-plugin generates different class names on Fuse 6.3 R13 and Fuse 6.3 R12

      on R12 (2.17.0.redhat-630396)

      ➜ ls -1 
      Account.java
      AccountSourceEnum.java
      ActiveEnum.java
      BillingGeocodeAccuracyEnum.java
      Contact.java
      CustomerPriorityEnum.java
      IndustryEnum.java
      LeadSourceEnum.java
      LevelEnum.java
      MailingGeocodeAccuracyEnum.java
      Merchandise__c.java
      MyMultiselectEnum.java
      OtherGeocodeAccuracyEnum.java
      OwnershipEnum.java
      QueryRecordsAccount.java
      QueryRecordsContact.java
      QueryRecordsMerchandise__c.java
      RatingEnum.java
      SalutationEnum.java
      ShippingGeocodeAccuracyEnum.java
      SLAEnum.java
      TypeEnum.java
      UpsellOpportunityEnum.java
      

      On R13 (2.17.0.redhat-630410)

       ls -1 
      Account_AccountSourceEnum.java
      Account_ActiveEnum.java
      Account_BillingGeocodeAccuracyEnum.java
      Account_CustomerPriorityEnum.java
      Account_IndustryEnum.java
      Account.java
      Account_MyMultiselectEnum.java
      Account_OwnershipEnum.java
      Account_RatingEnum.java
      Account_ShippingGeocodeAccuracyEnum.java
      Account_SLAEnum.java
      Account_TypeEnum.java
      Account_UpsellOpportunityEnum.java
      Contact.java
      Contact_LeadSourceEnum.java
      Contact_LevelEnum.java
      Contact_MailingGeocodeAccuracyEnum.java
      Contact_OtherGeocodeAccuracyEnum.java
      Contact_SalutationEnum.java
      Merchandise__c.java
      QueryRecordsAccount.java
      QueryRecordsContact.java
      QueryRecordsMerchandise__c.java
      

      which results in

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:testCompile (default-testCompile) on project salesforce-test: Compilation failure
      [ERROR] /home/jbouska/git/redhat/jbossqe-camel-it/camel/components/salesforce-test/src/test/java/org/jboss/qe/camel/components/salesforce/PATCH2648Test.java:[8,39] cannot find symbol
      [ERROR]   symbol:   class MyMultiselectEnum
      [ERROR]   location: package org.apache.camel.salesforce.dto
      

      This change will affect existing customers code.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                zregvart Zoran Regvart
                Reporter:
                jbouska Jan Bouska
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: