#76899Editing images on RTE that were not added by the Insert Image button throws an exception
Description
When editing an image on RTE (htmlarea) that wasn’t added by the RTE button “Insert Image”, the following Exception is thrown:
#1300096564: The UID of file has to be numeric. UID given: "null" (More information)
To reproduce this, just add any image via HTML input (toggle text mode), click on the image and than on the image button.
The edit window is opened but with this Exception, since there’s no id for that image.
My suggestion is that when no valid uid is given, the window opens with the possibility to change the image (New Magic Image / New Plain Image) but not its properties (since it’s not on the database).
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.