Commit e759868
committed
fix: when adding a pdf during process edition, the content is never saved - EXO-81221
Before this fix, when you create a pdf form inside a process during process edition (not process creation),
The content of the pdf is never saved.
This is because the "move" action is not correctly done with the session, the jcr:content node have still path in the old location
Using workplace.move ensure to move and save all the node and subtree1 parent 37f8ada commit e759868
File tree
2 files changed
+9
-5
lines changed- processes-services/src
- main/java/org/exoplatform/processes/service
- test/java/org/exoplatform/processes/service
2 files changed
+9
-5
lines changedLines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
215 | 217 | | |
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
219 | | - | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
192 | | - | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
0 commit comments