Can't delete DirectoryWatcher created via Administrator.updateGatewayEntry() from web admin

Description

If i create a directoryWatcher via the admin, I can delete it

but if I create one using via

It won't delete

Environment

None

Activity

Pothys - MitrahSoft 10 December 2018 at 10:31

I've analyzed this ticket & confirmed the issue happened on lucee. If we try to delete the directoryWatcher created by Administrator cfc or admin tag, it won't delete. It shows remains up in the admin. But delete working fine after restart the lucee server. It deletes the entry in lucee=web.xml.

Using remove admin.removeGatewayEntry(), also doesn't remove entry from admin.

Zac Spitzer 28 March 2018 at 16:23

you can delete the api created DirectoryWatcher via the web admin, only if you edit and save it first

Zac Spitzer 28 March 2018 at 11:39
Edited

i was trying to use a DirectoryWatcher with the docs, the requirement to have the listener.cfc
under web-inf made it a no go.

Pothys - MitrahSoft 28 March 2018 at 11:20

Hi ,

I've analyzed this ticket & I couldn't able to reproduce the issue on lucee 5.2.6.60 version. Deleted that gateway instance (created via web admin & created via admin.updateGatewayEntry()). Both two ways are deleted as expected.

Did you see any error while deleting gateway instance ?

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 28 March 2018 at 06:09
Updated 8 April 2019 at 19:42