Skip to content

Commit

Permalink
Revert "Allow Entity serialization by XStream after its version has b…
Browse files Browse the repository at this point in the history
…een upgraded cuba-platform/cuba#3307"

This reverts commit af7f864.
  • Loading branch information
gorbunkov committed Feb 26, 2024
1 parent af7f864 commit 8f63ffa
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.haulmont.reports.converter;

import com.haulmont.cuba.core.entity.Entity;
import com.haulmont.cuba.core.global.View;
import com.haulmont.cuba.core.global.ViewProperty;
import com.haulmont.cuba.core.sys.CubaXStream;
Expand Down Expand Up @@ -102,8 +101,6 @@ public boolean canConvert(Class type) {
xStream.aliasField("definedBy", ReportTemplate.class, "customDefinedBy");
xStream.aliasField("uuid", ReportValueFormat.class, "id");

xStream.allowTypeHierarchy(Entity.class);

return xStream;
}

Expand Down

0 comments on commit 8f63ffa

Please sign in to comment.