core icon indicating copy to clipboard operation
core copied to clipboard

Incorrect message "Failed to send to all environments" before push succeeds

Open john-thomas-dotcms opened this issue 11 years ago • 2 comments

When pushing a site, the status of the push on the receiving server displays "Failed to send to all environments" for several minutes while the status on the sending server displays "Publishing bundle". After the site successfully publishes, the status on both sites changes to "Success".

This is a cosmetic issue, since the publish actually succeeds, but it's confusing because it indicates the push failed when it didn't, and may prompt a user to continually re-try a push that was actually successful the first time.

Note: I expect this is reproducible with any large bundle, but I've only verified it when pushing a whole site using the starter site as a base, since that's the simplest to do.

Steps to Reproduce:

  1. Start a clean starter site.
  2. Set up a push publishing environment and verify that content items can be successfully pushed.
  3. In System -> Sites, create a clone (full copy) of the site.
  4. Push Publish the copied site to the receiving server.
  5. On both the sending and receiving server, open Site Browser -> Publishing Queue, and select the Status / History tab.
  6. Continue refreshing both servers periodically until the push completes.

Results:

  • For several minutes the receiving server displays a status of "Failed to send to all environments" while the sending server displays a status of "Publishing bundle".
  • Once the push is complete, the status on both the sending and receiving servers changes to "Success".

Testing Environment:

  • dotCMS 3.2.4 and 3.3
  • Windows 7
  • Java 8 (1.8.0_65)

john-thomas-dotcms avatar Nov 18 '15 00:11 john-thomas-dotcms

This issue continues to be a problem in 4.x, support customers requesting a fix.

mattyarbrough avatar Oct 12 '17 13:10 mattyarbrough

This has been resolved in later versions

wezell avatar Dec 12 '17 22:12 wezell