Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26838

Cannot import Nuxeo.ChartDataBehavior

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF04, 11.1
    • Component/s: Web UI

      Description

      I am trying to build some analytics and not reinventing the wheel, so I wanted to import the behavior:

      . . .
        <script>
          Polymer({
            is: 'retention-analytics',
            behaviors: [Nuxeo.ChartDataBehavior, Nuxeo.I18nBehavior],
      . . .
      

      This fails at runtime, the console says it cannot find the behavior:

      behavior is null, check for missing or 404 import
      

      When digging with Guillaume, the error is throw in Nuxeo-app.htmp#10287

      error: This behavior being vulcanized it should be available.
      Workaround: Duplicate/rename the behavior file, or just copy/paste the function used in the custom charts

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.