help.axcms.netAxinom Logo
Save Save Chapter Send Feedback

Upgrading to 5.2.3


Caution by CreateApplication

If you are using Create Application for your development to fill your database with initial data, please check your method DeleteAll(). The first occurency of

query = new DbDeleteQuery("AxElementCategory");
query.ConnectionManager = _msConnectionManager;

Has to be replaced with

query = new DbDeleteQuery();
query.ConnectionManager = _msConnectionManager;
query.AddTable("AxElementCategory", "AEC");
query.AddTable(new DbTableInnerJoin("AxCategory", "AC", "AEC.CategoryID = AC.CategoryID"));
query.AddWhere("AC.ParentID not in (10, 20) OR ElementType <> 19");

The old one will delete all your right and roles.