cuba-platform / reports

CUBA Reports Addon
https://www.cuba-platform.com/
Apache License 2.0
9 stars 4 forks source link

Different behavior for creating duplicate of report groups #284

Closed DartVerder closed 3 years ago

DartVerder commented 3 years ago

Environment: CUBA Platform version: 7.2.13 Databases: HSQL, Postgres, MySQL, MSSQL, Oracle

Description of the bug

  1. Create new project and add report add-on
  2. Run application
  3. Create new report group with title = "reports"
  4. Create new report group with the same title = "reports"

Expected behavior: The title of the report group must be unique. The application behavior must be the same for different types of databases. Actual behavior:

knstvk commented 3 years ago

We don't create unique indexes for SoftDelete entities in HSQL, because it's too difficult (requires an additional column and a trigger) and we treat HSQL as prototyping-only database.