Base solution for your next web application
Open Closed

Powertools - Minor issues #11823


User avatar
0
ashjackson created

Hi There,

I've noted a couple of minor issues in powertools V4.0.2, ASPZ V13.0, Visual Studio 2022 17.8.3

  1. When generating an overridable entity with a key type of Guid, the template does not include a using statement for System in the .extended file, causing a reference error on the type Guid.
  2. The Should_Update_EntityName tests generated for string values do not respect the length of short fields. If the field length is less than 18 ("Updated test value"), then the tests will failed with a validation error.
  3. The Should_Delete_EntityName tests fail due to soft delete. The test is using the context directly to fetch the updated entity, so without the soft delete logic of the aspz repository classes the default test that the deleted entity is null will fail.

I will attempt to edit my powertools templates locally to work around for now, but if these can be addressed in a future update it would be much appreciated.

Kind Regards, AJ.


1 Answer(s)