[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] EPrints/Elements Merge Problems



Possibly/probably?
There is a configuration option in one of the symplectic_XX_something.pl files that governs file deletion behaviour.
I'd find that - and then search the code for references to it's value.

Cheers,
John

From: James Kerwin [mailto:jkerwin2101 at gmail.com]
Sent: 17 May 2019 11:52
To: John Salter <J.Salter at leeds.ac.uk>
Cc: eprints-tech at ecs.soton.ac.uk
Subject: Re: [EP-tech] EPrints/Elements Merge Problems

Thanks John!

I'll make these changes today and hopefully never have this problem again. Good timing really because we had restrictions on merging items in Elements for a while and this has been lifted.

Can I ask you a very quick question? Do you know if "FileManageHandler.pm" (Symplectic::Handlers::FileManageHandler) a good place to start investigating a problem with deletion requests from Elements? There's a "delete_handler" sub in there that looks like a likely candidate, but I don't want to spend half of my day looking in the wrong place.

Thanks,
James

On Thu, May 16, 2019 at 12:48 PM John Salter <J.Salter at leeds.ac.uk<mailto:J.Salter at leeds.ac.uk>> wrote:
Hi James,
I've put some notes/code here:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgist.github.com%2Fjesusbagpuss%2Fee27acd24a5d0e3fa3d29ef0075d921b&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cebaa52cf6a254c802cff08d6dab68f76%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=CzN3zJgqdX0qn7KiAXOL1bRSxMmkDs6%2Bt4iKvdYu4MA%3D&amp;reserved=0
let me know if it doesn't make sense.