Description of problem:
If you try to deploy your own code using JBoss templates, and if you clear the values in Git Reference and Context Directory, those values are getting defaulted to the default values in the template
Version-Release number of selected component (if applicable):
3.10, 3.9. 3.7
Steps to Reproduce:
1. Create an application using a template. Example: JBoss EAP 6.4 (no https)
Select a Git repository url that is not the default value (example: https://github.com/VeerMuchandi/kitchensink-example)
Clear the values in the fields "Git Reference" and "Context Directory"
and create the application
2.The build fails. When you check build configuration, the values for Git Reference is "6.4.x" and the value for Context directory is "kitchensink".
3.If you edit the build config again and remove these values, the build will be successful.
Build should be successful
please point us to the specific template you were using so we can recreate.
Template: JBoss EAP 6.4 (no https)
I suspect this is simply working as designed as the console has no way to distinguish between "leave this empty" and "use the default value for this parameter".
The template sets a default value.
but i'll let Sam confirm.
Have you enabled template service broker?
This looks like it's the same as bug 1605136.
*** This bug has been marked as a duplicate of bug 1605136 ***