add deprecation warning on context.portal_url + fix typo