Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Content Targeting
    • Labels:
      None
    • Fix Priority:
      4

      Description

      Steps to reproduce:

      • move to rule/rule-facebook folder
      • execute "../../gradlew clean compileTestJava -Dbuild.profile=portal"

      Expected behaviour: test compiles and passes
      Actual behaviour: test does not compile because org.json.JSONObject is not found

      rule/rule-facebook/src/test/java/com/liferay/content/targeting/rule/facebook/FacebookGenderRuleTest.java:66: error: cannot access JSONObject
                                              return new JSONObjectImpl((String)args[0]);
                                                     ^
        class file for org.json.JSONObject not found
      1 error
      :rule:rule-facebook:compileTestJava FAILED
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':rule:rule-facebook:compileTestJava'.
      > Compilation failed; see the compiler error output for details.
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2.1