- Affected version
- 2.3.0 Beta 3
When a user wants to delete icons, they will not be deleted. This is due to the fact that the incorrect content type is passed to the option, and the step associated with it is executed.
In
Thus, if the administrator decides to add 300 icons, and then leave 150 of them and remove unnecessary ones, his sprite will not be rebuilt.
In
XF\Option\Icon::class
, extra is called, although this should not be the case $iconRepo->enqueueUsageAnalyzer('extra');
. But due to the fact that the analyzer does not know this content type and we call extra, because for additional icons and the return of their events, it does not know about extra_option
. Because of this, it tries to remove icons for content of type extra, not extra_optionThus, if the administrator decides to add 300 icons, and then leave 150 of them and remove unnecessary ones, his sprite will not be rebuilt.