Login

Error when saving a property

Versions: 4.61 - 4.61, FAQ number: 173, Old FAQ number: 10159

Why do I get an error when saving a property?

Due to a bug in EPiServer 4.61 properties being added to a pagetype were given a fieldorder of 0. Since this is not an allowed behaviour in EPiServer a hotfix was released to correct this.

As a result of the hotfix, you can no longer save properties with a fieldorder set to 0 meaning you have to change these values in the database.

In order to update faulty properties the following sql query should be
run:

while (select count(*) from tblpagedefinition where fieldorder = 0) > 0 begin

     update tblpagedefinition

     set fieldorder = (select max(fieldorder) from tblpagedefinition) + 1

     where pkid = (select top 1 pkid from tblpagedefinition where fieldorder = 0)

end


EPiTrace logger