Community
Participate
Working Groups
Build Identifier: If none of the rules for a Tigerstripe project match the artifacts of a model project, the generation completes and user is presented with a message indicating that the generation was successful. However, no code is generated as expected. In this scenario, user should be warned when none of the rules of a plugin match the artifacts of a TS Project. Reproducible: Always Steps to Reproduce: 1. Create a model project with only a Session Facade artifact 2. Create a TS plugin with a rule that only applies to an Entity artifact 3. Generate code for your model project using the created plugin. Notice that a message pops up indicating that generation was successful. However, no code was generated since the rules didn't match any of the artifacts in the project.
This is also problematic when you try to use a generator, which has no rules. It pops up a dialog indicating that generation was successful with no indication that the generator doesn't contain any rules
Created attachment 185329 [details] Patch_1 Fixed.
Valentin's patch applied.
The heading in the generation dialog still says "Generation Successful". I was expecting this to be changed to a yellow colour warning. Similar to how other warnings are done. The generation text indicates none of the rules changed, but please also change the heading.
Created attachment 185650 [details] Patch_2 Fixed
Applied second patch as well.
Looks good. Thanks!