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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00