Commit e535254
committed
fix : When exporting a page template containing SpaceList portlet, there is an error in server logs - MEED-10036 - Meeds-io/meeds#3910
When exporting this template, the generatePreferences function do not check if preferences object is null.
This commit ensure to return an emptyList in this case
Resolves Meeds-io/meeds#39101 parent 2b6c24e commit e535254
1 file changed
Lines changed: 11 additions & 6 deletions
File tree
- layout-service/src/main/java/io/meeds/layout/plugin/renderer
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
0 commit comments