Fix bug 32645 by having PortletURLProviderImpl.toString() create a copy of itself and register that with the event.