You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The custom widget is just an extended "alfresco/dashlets/Dashlet" thas has the paged list as the widget in it's body. The service is subscribed to ACME_EXPIRATION_NOTIFIED event in order to get the required data and so on...
By checking the Pub/Sub debug information I can see that the service subscribes correctly to the topic by adding the additional pubSubScope prefix. And even the AlfSortablePaginatedList does subscribe to ACME_EXPIRATION_NOTIFIED_SUCCESS and ACME_EXPIRATION_NOTIFIED_FAILURE events by prefixing the scope.
But when loadData method from AlfList is called in order to publish the topic no scope is prefixed so obviously the service does nothing.
I'm facing some issues when trying to use an AlfSortabolePaginatedList in an Aikau Dashlet.
I have a model like this for the dashlet:
model.jsonModel = {
rootNodeId: args.htmlid,
pubSubScope: instance.object.id,
services: [
{ name: "acme/services/ExpirationNotificationService" }
],
widgets: [
{
id: "ACME_EXPIRATION_NOTIFIED",
name: "acme/dashlets/ExpirationNotified"
}
]
};
The custom widget is just an extended "alfresco/dashlets/Dashlet" thas has the paged list as the widget in it's body. The service is subscribed to ACME_EXPIRATION_NOTIFIED event in order to get the required data and so on...
By checking the Pub/Sub debug information I can see that the service subscribes correctly to the topic by adding the additional pubSubScope prefix. And even the AlfSortablePaginatedList does subscribe to ACME_EXPIRATION_NOTIFIED_SUCCESS and ACME_EXPIRATION_NOTIFIED_FAILURE events by prefixing the scope.
But when loadData method from AlfList is called in order to publish the topic no scope is prefixed so obviously the service does nothing.
Could the problem be here:
Aikau/aikau/src/main/resources/alfresco/lists/AlfList.js
Line 1420 in fd24ed4
Shouldn't this call add this.pubSubScope as an additional parentScope parameter to the call to alfPublish?
The text was updated successfully, but these errors were encountered: