#66171Wizard element browser crashes with invalid identifier
Description
Problem
In FlexForms or TCA, when you have such definition:
<path>
<TCEforms>
<exclude>0</exclude>
<label>LLL:EXT:restdoc/Resources/Private/Language/locallang_db.xml:pi_flexform.path</label>
<config>
<type>input</type>
<size>48</size>
<eval>required,trim</eval>
<wizards type="array">
<_PADDING>2</_PADDING>
<link type="array">
<type>popup</type>
<title>LLL:EXT:restdoc/Resources/Private/Language/locallang_db.xml:pi_flexform.path.wizard</title>
<icon>link_popup.gif</icon>
<module type="array">
<name>wizard_element_browser</name>
<urlParameters type="array">
<mode>wizard</mode>
<act>file</act>
</urlParameters>
</module>
<params type="array">
<blindLinkOptions>page,url,mail,spec,file</blindLinkOptions>
</params>
<JSopenParams>height=500,width=400,status=0,menubar=0,scrollbars=1</JSopenParams>
</link>
</wizards>
</config>
</TCEforms>
</path>
If you put an invalid identifier in the input text (such as file:1:/invalid/directory/) and try to open the wizard with wizard.png, it crashes with
#1329647780: Object with identifier "1:/invalid/directory/" does not exist in storage (More information)
Expected output
Just like before FAL: the tree without any node (directory) selected and no exception at all, as this is not user friendly and may easily happen.