POST http://myprovence.smart.koredge.fr/interface/notifications/load-user-notifications

Query Metrics

8 Database Queries
8 Different statements
5.54 ms Query time
6 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1.60 ms
(28.85%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.position AS position_3, t0.id AS id_4, t0.login AS login_5, t0.password AS password_6, t0.keycloak_id AS keycloak_id_7, t0.first_name AS first_name_8, t0.last_name AS last_name_9, t0.last_login AS last_login_10, t0.timezone AS timezone_11, t0.enabled AS enabled_12, t0.roles AS roles_13, t0.menu AS menu_14, t0.deleted_at AS deleted_at_15, t0.hidden AS hidden_16, t0.sf_core_language_id AS sf_core_language_id_17, t0.sf_core_user_settings_id AS sf_core_user_settings_id_18 FROM sf_core_user t0 WHERE t0.id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  "94"
]
0.77 ms
(13.91%)
1
SELECT sfcnsfcnt.sf_core_notification_id, sfcnt.name FROM sf_core_notification_sf_core_notification_topic sfcnsfcnt INNER JOIN sf_core_notification_topic sfcnt ON sfcnsfcnt.sf_core_notification_topic_id = sfcnt.id;
Parameters:
[]
0.76 ms
(13.80%)
1
SELECT sfcn.*, sfcu.first_name AS user_firstname, sfcu.last_name AS user_lastname FROM sf_core_notification sfcn INNER JOIN sf_core_notification_sf_core_notification_topic sfcnsfcnt ON sfcn.id = sfcnsfcnt.sf_core_notification_id LEFT JOIN sf_core_user sfcu ON sfcu.id = sfcn.emitter_id WHERE (sfcn.private = false AND sfcn.created_at >= ?) ORDER BY sfcn.created_at DESC;
Parameters:
[
  "2025-01-06 13:00:53"
]
0.73 ms
(13.23%)
1
SELECT sfcp.id, sfcp.route FROM sf_core_permission sfcp WHERE sfcp.deleted_at IS NULL;
Parameters:
[]
0.57 ms
(10.35%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.position AS position_3, t0.id AS id_4, t0.name AS name_5, t0.enabled AS enabled_6, t0.level AS level_7, t0.deleted_at AS deleted_at_8, t0.hidden AS hidden_9 FROM sf_core_role t0 INNER JOIN sf_core_user_sf_core_role ON t0.id = sf_core_user_sf_core_role.sf_core_role_id WHERE sf_core_user_sf_core_role.sf_core_user_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  "94"
]
0.39 ms
(7.12%)
1
SELECT DISTINCT sfcusfcn.sf_core_notification_id FROM sf_core_user_sf_core_notification sfcusfcn WHERE sfcusfcn.sf_core_user_id = ?
Parameters:
[
  94
]
0.37 ms
(6.59%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.position AS position_3, t0.id AS id_4, t0.name AS name_5, t0.deleted_at AS deleted_at_6, t0.hidden AS hidden_7 FROM sf_core_notification_topic t0 INNER JOIN sf_core_user_sf_core_notification_topic ON t0.id = sf_core_user_sf_core_notification_topic.sf_core_notification_topic_id WHERE sf_core_user_sf_core_notification_topic.sf_core_user_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  "94"
]
0.34 ms
(6.16%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.position AS position_3, t0.id AS id_4, t0.name AS name_5, t0.deleted_at AS deleted_at_6, t0.hidden AS hidden_7 FROM sf_core_notification_topic t0 INNER JOIN sf_core_role_sf_core_notification_topic ON t0.id = sf_core_role_sf_core_notification_topic.sf_core_notification_topic_id WHERE sf_core_role_sf_core_notification_topic.sf_core_role_id = ? AND ((t0.deleted_at IS NULL))
Parameters:
[
  "3"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\SfCommon No errors.
App\Entity\Core\SfCoreCommon No errors.
App\Entity\Core\SfCoreUser
  • The association App\Entity\Core\SfCoreUser#sfShareContacts refers to the owning side field App\Entity\Share\SfShareContact#SfCoreUser which does not exist.
  • The association App\Entity\Core\SfCoreUser#sfShareStructures refers to the owning side field App\Entity\Share\SfShareStructure#SfCoreUser which does not exist.
  • The mappings App\Entity\Core\SfCoreUser#sfDocumentationSharings and App\Entity\Documentation\SfDocumentationSharing#sfCoreUser are inconsistent with each other.
App\Entity\Core\SfCoreLanguage No errors.
App\Entity\Core\SfCoreUserSettings No errors.
App\Entity\Core\SfCoreGrid No errors.
App\Entity\Core\SfCoreView No errors.
App\Entity\Core\SfCoreUserViewMm No errors.
App\Entity\Core\SfCoreRole No errors.
App\Entity\Core\SfCoreInternalLink No errors.
App\Entity\Core\SfCoreExternalLink No errors.
App\Entity\Core\SfCoreListingView No errors.
App\Entity\Core\SfCoreNotification No errors.
App\Entity\Core\SfCoreNotificationTopic No errors.
App\Entity\Contact\SfContactCommon No errors.
App\Entity\Contact\SfContact
  • The field App\Entity\Contact\SfContact#sfShareContacts is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Share\SfShareContact#SfContact does not contain the required 'inversedBy="sfShareContacts"' attribute.
App\Entity\Core\SfCoreLicense
  • The field App\Entity\Core\SfCoreLicense#sfShareContacts is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Share\SfShareContact#sfCoreLicense does not contain the required 'inversedBy="sfShareContacts"' attribute.
  • The field App\Entity\Core\SfCoreLicense#sfShareStructures is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Share\SfShareStructure#sfCoreLicense does not contain the required 'inversedBy="sfShareStructures"' attribute.
  • The mappings App\Entity\Core\SfCoreLicense#sfDocumentationSharings and App\Entity\Documentation\SfDocumentationSharing#sfCoreLicense are inconsistent with each other.
  • The mappings App\Entity\Core\SfCoreLicense#sfMailingLists and App\Entity\MailingList\SfMailingList#sfCoreLicense are inconsistent with each other.
App\Entity\Share\SfShare No errors.
App\Entity\Share\SfShareContact No errors.
App\Entity\Share\SfShareStructure No errors.
App\Entity\Widget\SfWidgetRecipient No errors.
App\Entity\Documentation\SfDocumentationCommon No errors.
App\Entity\Documentation\SfDocumentationMovement No errors.
App\Entity\Documentation\SfDocumentationSharing
  • The association App\Entity\Documentation\SfDocumentationSharing#sfCoreUser refers to the inverse side field App\Entity\Core\SfCoreUser#sfShareDocumentations which does not exist.
  • The association App\Entity\Documentation\SfDocumentationSharing#sfCoreLicense refers to the inverse side field App\Entity\Core\SfCoreLicense#sfShareDocumentations which does not exist.
App\Entity\Contact\SfContactRequest No errors.
App\Entity\Contact\SfContactDocumentationRequest No errors.
App\Entity\Requester\SfRequester
  • The association App\Entity\Requester\SfRequester#sfCoreLicense refers to the inverse side field App\Entity\Core\SfCoreLicense#sfRequesters which does not exist.
App\Entity\MailingList\SfMailingList
  • The association App\Entity\MailingList\SfMailingList#sfCoreLicense refers to the inverse side field App\Entity\Core\SfCoreLicense#sfMailingList which does not exist.
App\Entity\Core\SfCoreOffice No errors.
App\Entity\Core\SfCorePermission No errors.
App\Entity\Core\SfCoreAccess No errors.
App\Entity\Core\Translations\SfCoreRoleTranslation No errors.