Skip to main content
Declined

INSERT CODE HERE

Related products:Software Factory
  • December 14, 2020
  • 7 replies
  • 61 views
Mark Jongeling
Remco
+4
  • Mark Jongeling
    Mark Jongeling
  • Remco
    Remco
  • Boudewijn
  • Erwin Ekkel
  • Rony
  • Randolph Beekman
    Randolph Beekman
  • cornevdlinden
    cornevdlinden
  • pvleeuwen
  • Shawn Adrian Diño

When adding new functionality and you skip the tab "Templates", by default a (New) template will be added with content:

INSERT CODE HERE

 

I feel it is better to put double hyphens before this autogenerated script to make it as a comment. Currently it will generate incorrect code and is reason for aborting the code execution to the DTAP environments.

Did this topic help you find an answer to your question?

7 replies

Robert Jan de Nie
Thinkwise blogger
Forum|alt.badge.img+5

I think it should create an error rather than do nothing because it is a comment. The developer has forgotten something. There is an empty template. Surely that is not what was meant to be put in there?

 


  • 82 replies
  • December 22, 2020

An empty template will trigger a validation message. When creating a deployment package, I’m already notified of validation messages, so the empty template will not go unnoticed.

Having no hard error on a random piece of functionality allows me to perform an upgrade while coworkers are still working in their corners of the application.


Jasper
Superhero
  • 678 replies
  • February 1, 2021
Updated idea status NewOpen

Forum|alt.badge.img+17
  • Moderator
  • 768 replies
  • June 4, 2021

Can I vote two times for this idea? More often than not I first add the template, modify with -- then attach the template, go to result and check which parameters I have available and then go back to the template. There is no reason not to add the -- in front because if you properly test the code you will notice it doesn't do anything so no point in letting it crash the execution of the code. 


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Sorry @Erwin Ekkel, voting twice is not possible :wink:

It's not easy to find the best strategy for this. If we wouldn’t insert the text 'INSERT CODE HERE’, it indeed wouldn't cause an error on this. Adding the available parameters to an empty template is also something we could do but it is not recommended to leave them inside the template. 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Our product development team discussed this idea again, and agrees with the argument as mentioned by @Robert Jan de Nie. For this reason, we will decline this idea. Thank you all for your input.


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
OpenDeclined

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings