core icon indicating copy to clipboard operation
core copied to clipboard

Push Publishing: Clear Pushed Assets Table if a Bundle was deleted

Open joseorsini opened this issue 11 years ago • 5 comments

Reproduced in 3.2.4. Steps:

  1. Clone demo.dotcms.com site.
  2. Once the new site is created, add this new one and demo.dotcms.com site to the same Push Publishing bundle.
  3. Push the Bundle to a Receiver side.
  4. Once the Push Pub is finished, delete the bundle in Sender side, from the Publishing Queue -> Status/History Tab.
  5. Go to the DB and Query the publishingpushedassets table according to the bundle Id you just deleted. Rows are still there on DB and they're not cleared.

If we allow the History of all Push Pub to be deleted, we should delete all referenced assets to each bundle we delete.

joseorsini avatar Sep 30 '15 15:09 joseorsini

In progress - Card#307

rogelio-blanco avatar Oct 08 '15 17:10 rogelio-blanco

What was the resolution on this?

austindlawless avatar Dec 03 '15 15:12 austindlawless

should be in 3.3

jtesser avatar Dec 03 '15 15:12 jtesser

Excellent.

austindlawless avatar Dec 03 '15 16:12 austindlawless

Well FWIW we fixed the performance issue here which I was confused on and thought was referencing.

But deleting a old bundle should not delete the push history. This is on purpose

jtesser avatar Dec 03 '15 17:12 jtesser