VersionX icon indicating copy to clipboard operation
VersionX copied to clipboard

Reload resource after revert

Open SiarAneas opened this issue 12 years ago • 5 comments

Hi Mark! I'm having the following issue (checked it in several browsers - so I hope it isn't just me): When reverting to a previous version the resource isn't reloaded in manager so all fields have still the values from before the revert (though the revert was saved in background). If the user now clicks on the save button (which gets also enabled after the revert) the old data (from before the revert) is saved again.

Im using Revo 2.2.8 btw - not sure whether this is relevant for this issue. Cheers,


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

SiarAneas avatar Oct 02 '13 10:10 SiarAneas

Can anyone confirm this behaviour or is this just me? Cheers!

SiarAneas avatar Oct 25 '13 06:10 SiarAneas

I seemed to have missed this notification. It indeed doesn't refresh the page after a revert, but that shouldn't be too hard to add and I'll try to add that in the next release.

Mark-H avatar Jan 23 '14 12:01 Mark-H

+1

neoneddy avatar Dec 07 '15 19:12 neoneddy

+1

It's counter-intuitive, and also me and my editors forget about it every now and then.

sebastian-marinescu avatar Oct 26 '18 18:10 sebastian-marinescu

Hi @Mark-H, I could look deeper into this, if you want. On the first quick look, I think adding it to the JS success-handler here https://github.com/Mark-H/VersionX2/blob/d575c893260f3e1112fbcb31c0d0e0877cdacee1/assets/components/versionx/js/mgr/resources/grid.resources.js#L119 could be a solution. Also the message should either be updated, or a second message could appear.

What do you think?

sebastian-marinescu avatar Oct 28 '18 21:10 sebastian-marinescu

There is a full page reload for any kind of revert in VersionX 3.x Closing!

muzzwood avatar Oct 25 '24 04:10 muzzwood