Entities Cookie, CookieItem und Webspace-Zuordnung mit Migration #10

Closed
opened 2026-11-09 17:38:11 +00:00 by csaeum · 0 comments
Owner

Ziel

Datenmodell für Cookies mit DSGVO-Detailfeldern.

Umfang

  • Cookie (+ CookieTranslation): Provider, Zweck, Rechtsgrundlage, scriptUrl, Verweis auf Sulu-Kategorie (CategoryInterface)
  • CookieItem (+ CookieItemTranslation): Sub-Cookies für die Detailtabelle
  • CookieWebspace: Zuordnung zu Webspaces
  • CookieRepository::findActiveGroupedByCategory (gruppiert nach Key, sortiert nach category.lft)
  • Eine saubere Migration für alle Tabellen mit Präfix wsc_consent_

Herkunft

src/Entity/Cookie*, src/Resources/config/doctrine/Cookie*.orm.xml und die Cookie-Teile der Migrationen aus wsc_sulubundle_consentanalytics. Nicht übernehmen: EventConfig, EventField.

Akzeptanzkriterien

  • doctrine:schema:validate ohne Abweichungen — Beleg 2026-11-10 im DDEV: „mapping files are correct“ und „database schema is in sync“
  • Entity- und Migrationstests grün (Test-ORM mit TestCategory-Fixtures) — Beleg: tests/Entity und tests/Migrations/* vorhanden, CI-Lauf 51 auf main (f028dfc) grün
## Ziel Datenmodell für Cookies mit DSGVO-Detailfeldern. ## Umfang - `Cookie` (+ `CookieTranslation`): Provider, Zweck, Rechtsgrundlage, `scriptUrl`, Verweis auf Sulu-Kategorie (`CategoryInterface`) - `CookieItem` (+ `CookieItemTranslation`): Sub-Cookies für die Detailtabelle - `CookieWebspace`: Zuordnung zu Webspaces - `CookieRepository::findActiveGroupedByCategory` (gruppiert nach Key, sortiert nach `category.lft`) - Eine saubere Migration für alle Tabellen mit Präfix `wsc_consent_` ## Herkunft `src/Entity/Cookie*`, `src/Resources/config/doctrine/Cookie*.orm.xml` und die Cookie-Teile der Migrationen aus `wsc_sulubundle_consentanalytics`. **Nicht** übernehmen: `EventConfig`, `EventField`. ## Akzeptanzkriterien - [x] `doctrine:schema:validate` ohne Abweichungen — Beleg 2026-11-10 im DDEV: „mapping files are correct“ und „database schema is in sync“ - [x] Entity- und Migrationstests grün (Test-ORM mit `TestCategory`-Fixtures) — Beleg: `tests/Entity` und `tests/Migrations/*` vorhanden, CI-Lauf 51 auf `main` (f028dfc) grün
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Sulu-Bundles/wsc_sulubundle_orestbidacookieconsent#10
No description provided.