Issue Bug Closed

#107269All redirects get marked as having errors despite integrity_status is showed as no_conflict

Christian Osswald 08/12/25, 14:18 updated 08/11/26, 08:46

Description

In my database nearly all redirects have an empty string as integrity_status value. I guess this comes due to not recreating the sys_redirect table after the TCA default for sys_redirect.integrity_status was set to RedirectConflict::NO_CONFLICT.

This leads to the behavior, that in the Overview template the danger class is set.

EXT:cms-redirects/Resources/Private/Templates/Management/Overview.html
line 135 class=”{f:if(condition: ‘{redirect.integrity_status} !== {defaultIntegrityStatus}’, then: ‘danger’)}”

In my opinion, either there should be an additional check for empty string in the template or we should set the integrity_status actively to RedirectConflict::NO_CONFLICT. This could be possible with the CheckIntegrityCommand.

Reviews 3