Project: mulestudio
Issue STUDIO-2721: When publishing to application repository, application name accepts characters which are not allowed by MMC and action fails
How to reproduce: *) Build an application which includes a flow that contains a space in its name (eg. Spell Checker from http://www.mulesoft.org/documentation/display/MULE3START/Basic+Studio+Tutorial) *) Publish to Application Repository from Studio interface, notice that the suggested Application name contains a space (make sure it does to reproduce this issue) Expected behavior: Application is deployed Current behavior: A message reading 'Could not deploy to domain. HTTP/1.1 400 Bad Request' is displayed, with no further explanation on how to correct the problem Note: you can see which characters are disallowed if you manually try to add an application to the repository from the MMC console (currently they appear to be \/*"?<>|+'- space and some others, please check with current version) Suggested change: validate from the UI that the name given to the application abides by the restrictions, and suggest a different name (maybe with the same rules used to determine the project name, so it would be spell_checker instead of Spell Checker for the Basic Tutorial example)
Story points: 2