Commit 861778a
authored
Prior to this change, opening an editable document displayed a blank page if the user was not logged in. This issue was caused by a null pointer exception thrown in `documentModeRedirectHandler` when checking the authenticated user’s permissions for the opened document. This change handles the exception, allows the filter process to continue.
1 parent eaa310b commit 861778a
File tree
1 file changed
+3
-0
lines changed- documents-services/src/main/java/org/exoplatform/documents/filter
1 file changed
+3
-0
lines changeddocuments-services/src/main/java/org/exoplatform/documents/filter/DocumentModeRedirectHandler.java
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
0 commit comments