View Bug Report
FCOIS causes an error on destroy item
Bug #: 2646
File: FCO ItemSaver
Date: 05/28/20 03:26 AM
By: M-ree
Status: Game Bug (Cant fix)
I am getting the following error when I am trying to destroy any item (regardless of IS tagging and regardless of "Deactivate Anti-Destroy" flag state). Tested with FCOIS being the only add-on loaded.

EsoUI/Ingame/Inventory/InventorySlot.lua:1062: Attempt to access a private function 'PickupInventoryItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top.
stack traceback:
EsoUI/Ingame/Inventory/InventorySlot.lua:1062: in function 'ZO_InventorySlot_InitiateDestroyItem'
EsoUI/Ingame/Inventory/InventorySlot.lua:1703: in function 'OnSelect'
EsoUI/Libraries/ZO_ContextMenus/ZO_ContextMenus.lua:451: in function 'ZO_Menu_ClickItem'
ZO_MenuItem1_MouseUp:4: in function '(main chunk)'

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Baertram - 05/28/20 03:31 AM
*sigh* Thanks, but it's already known since months and also named inside the sticky post of the FCOIS comments as known bug with a workaround:
https://www.esoui.com/downloads/info630-FCOItemSaver.html#comments

#40) Getting an "Attempt to access a private function" error message if you try to destroy an item

Workaround:
Use the drag & drop for the moment to destroy the item please -> Drag from inventory and drop at the normal UI (middle of the screen).
By: M-ree - 05/28/20 05:17 AM
Oh, did not notice it. I am also getting a same/similar issue if I am trying to start a sealed writ by the by:

EsoUI/Ingame/Inventory/InventorySlot.lua:1101: Attempt to access a private function 'UseItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top.
stack traceback:
EsoUI/Ingame/Inventory/InventorySlot.lua:1101: in function 'TryUseItem'
EsoUI/Ingame/Inventory/InventorySlot.lua:1323: in function '(anonymous)'
(tail call): ?
(tail call): ?
EsoUI/Libraries/ZO_ContextMenus/ZO_ContextMenus.lua:451: in function 'ZO_Menu_ClickItem'
ZO_MenuItem1_MouseUp:4: in function '(main chunk)'

Any workarounds for that?
By: Baertram - 05/28/20 05:36 AM
How do I reproduce this bug please in steps after login?
Please write me the steps with only FCOIS + needed libs enabled:
1. Login
2. Open inventory
3. Choose inventory tab xxx
4. Double click a sealed writ there / or use the keybind E / or ????

Thanks
By: M-ree - 05/28/20 05:43 AM
1. Login
2. Open inventory
3. Choose inventory tab Consumable (or just scroll down in the All)
4. Either hit E, or double-click, or R-click and select "Use"