Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.0 DXP FP15, 7.0.X EE, Master
-
7.0.x
-
Committed
-
1.25
-
3
Description
- Create 10000 blogs and ratings entries by running the attached Groovy script
- Create a new site "testsite"
- Manually export the completely empty testsite with default options
Result: The export of the empty site takes about 4 minutes (depending on your machine's resources) because all the 10000 ratings will be exported also (the blog entries will not).
The reason is that the RatingsEntry model does not have a groupId, and therefore PageRatingsPortletDataHandler will not be able filter them by the exported site's groupId when fetching the ones to export. Only the entities that they are rating have a groupId so we have to filter for that.
Note: This anomaly affects site creation from site template also. E.g. creating a new site from the Intranet Site template takes about the same amount of time because of this unnecessary export and import, which also doesn't make any sense.
Attachments
Issue Links
- relates
-
LPS-73907 All ratings entries of the entire portal are checked when creating a Site from a Site Template
- Closed