Fixed Additional icons to include in sprites are not removed

kick

Well-known member
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 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_option
1712409368200.webp
1712409383984.webp
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.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Beta 5).

Change log:
Fix content type of extra icons option
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom