So i had a regex virtualURI that was mapping from something like (.*)foo to 
something like /foo/$1.foo and I deleted the fromURI line and it was blank, and 
it got saved....

Instantly, the Admin UI barfs all over itself and I'm completely locked out 
from the server so I can't go in and change that node back... the force 
bootstrap is now removed so I can't just export an xml file from a working 
version and force it to bootstrap it (as far as I know) so I'm kind of up a 
creek without a paddle. 

What I ended up doing is fixing the magnolia-core and trapping the runtime 
exception when the regex groups don't match and returning an unaltered URI at 
that point -

 (I submitted a patch with the fix and a test case here: 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2967
)

Just curious, what other things could I have done? 

Ryan
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to