For clarification, this occurs only when using the editor field:
- Main Icon Image > Enter the name of a wiki attachment > File Browser button > New attachment
When using the File Browser button in the editor BB-Code toolbar, this does not occur.
Fixed in the next release. This occurs because the name of one Javascript variable gets overwritten with a new one when the old information will still be needed later.
If using unminified Javascript, in
js/vw/vw/icon-switch.js, find:
Code:
config.arguments = {
AFTER it, add:
If using minified Javascript, in
js/vw/vw/xf2/compiled/icon-switch.js, find:
Code:
c.arguments={context:this}
Replace with:
Code:
c.arguments={creator:d,context:this}
This change resolved the issue on my wiki. You may have to refresh the browser with cache disabled and possibly expire the file in any server-side static file cache such as CDN or CloudFlare in order to notice a difference.