Open Closed

ABP Suite generates incorrect string values when using regex input validation #4720


User avatar
0
info@ericverschoor.nl created
  • ABP Framework version: v7.0.1
  • UI type: Blazor
  • DB provider: EF Core

When generating unittest for xxxAppServiceTests, the mocked string values can contain incorrect characters when using regex input validation.

note: the used regex is: [+-]?(\d*)(.)(\d+),(.?)[+-]?(\d*)(.)(\d+),(.?)[+-]?(\d*)(.)(\d+),(.?)[+-]?(\d*)(.)*(\d+) this will validate this bounding box: 48.040502, -1.657292, 56.110590, 12.431727

(please refund this ticked when you agree that this is an abp suite issue)


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    we'll test this case

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09