Uploaded image for project: '{RETIRED} XWiki Workspaces'
  1. {RETIRED} XWiki Workspaces
  2. XWS-192

activity_builder field in XWSApps.Blog, Files, Stream, Photos not configured correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.2 M1
    • Workspace Applications
    • None

    Description

      Upon implementing my own activitystream event type for the Blog application, I found that BlogApplicationActivityBuilder was not being called when it should have been. Instead, ApplicationDefaultActivityBuilder was being called. It turns out that the activity_builder field of the XWiki.XWSApplicationClass object in the XWSApp.BlogApp application document had been entered incorrectly.

      Before I updated it, it was: com.xpn.xwiki.plugin.workspacesmanager.activities.BlogApplicationActivityBuilder

      After I changed it to: com.xpn.xwiki.plugin.workspacesmanager.apps.activities.builders.BlogApplicationActivityBuilder, the correct class was instantiated.

      The same error was found in FilesApp, PhotosApp, and StreamApp.

      Attachments

        Activity

          People

            jerome Jerome Velociter
            dlsvoboda Dan Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: