K13 DocumentUnpublishedRedirectUrl value not persisting

Rory Aherne asked on February 13, 2026 11:41

My DB has been migrated from K7 all the ways up to K13 over the years.

Unfortunately something in that has meant I'm having issues with the DocumentUnpublishedRedirectUrl column. When I save values to the field in Kentico and make further changes the field empties.

I tried upgrading to the latest hotfix v13.0.201.

I checked my code for any instances of DocumentUnpublishedRedirectUrl and found nothing.

After running the KInspector Tool (v4.0.0) under Column/field validation I do get under Tables with columns not in class I can see DocumentUnpublishedRedirectUrl listed.

Is there a script I can run to fix this? Unfortunately the KInspector is not offering any action for this.

Recent Answers


Juraj Ondrus answered on February 13, 2026 13:06

This column was added by one of the refreshes. It seems, that the hotfix was not applied as instructed in the documentation - the DB part of it. This could indicate also that something else was not added, removed or updated.
In this particular case, if it is the only thing missing, open the Hotfix_default.sql file from the hotfix package and search for the 'DocumentUnpublishedRedirectUrl' and extract the parts of the SQL commands which are adding this column into the CMS_Class as well as CMS_Document table. Make sure you have DB backup before making any changes directly to it!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.