Jumoo / uSync.Complete.Issues

Public Issue tracker and roadmap for uSync.Complete
https://jumoo.co.uk/usync/complete/
2 stars 1 forks source link

Publisher Progress display #138

Closed tompipe closed 2 years ago

tompipe commented 2 years ago

Describe the bug When using publisher to transfer content, we've noticed that we weren't getting the awesome animated progress display.

image

Eventually, the list of changes for the items would pop up, but no progress would be shown.

I finally had time to look at it, and found the following in the browser console

image

I had a look at App_Plugins\uSyncPublisher\components\uSyncPublishingActionComponent.js and made the following change to line 234

function hasView(action) {
   return action.view != null && action.view.length > 0;
}

i.e removed an equals from the null check, it seems that view is undefined when the call to uSyncPublisherApi/GetAction returns the action with the alias=pullFetch

Version (please complete the following information):

(but also experienced on prior versions) - I think it possibly began in May when we upgraded from 8.9.0 to 8.9.1

KevinJump commented 2 years ago

oddly i can't reproduce it, but i can see how it might happen, will add a better check to that file for the next release.

KevinJump commented 2 years ago

fixed in 8.11.4