[SAK-37776] deleteOrphanPages unable to delete from service Created: 24-Aug-2016  Updated: 18-Apr-2018  Resolved: 25-Aug-2016

Status: CLOSED
Project: Sakai
Component/s: Lessons
Affects Version/s: 10.7, 11.1
Fix Version/s: 10.8 [Tentative], 11.2, 12.0

Type: Bug Priority: Critical
Reporter: Matthew Jones Assignee: Matthew Jones
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
depends on SAK-38009 deleteOrphanPages API inaccessible fr... Verified
11 status: Resolved
10 status: Resolved
Previous Issue Keys: LSNBLDR-718


Okay so on LSNBLDR-630 deleteOrphanPages had one last CSRF check that prevented the deletion from happening, and the tool session wasn't being set by the webservice that was there. This fixes both of those bugs.

Comment by Sam Ottenhoff [ 25-Aug-2016 ]

10.x r324966

Comment by Charles Hedrick [ 01-Sep-2016 ]

Why did you modify deleteOrphanPages to call deletePages after deleteOrphanPagesInternal? Doesn't deleteOrphanPagesInternal already call deletePages?

Comment by Matthew Jones [ 01-Sep-2016 ]

Thanks Charles Hedrick I've fixed that bug on this commit https://github.com/sakaiproject/sakai/pull/3288 in LSNBLDR-677.

Generated at Fri May 24 16:55:31 CDT 2019 using JIRA 7.5.0#75005-sha1:fd8c849d4e278dd8bbaccc61e707a716ad697024.