[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:
Depend
depends on SAK-38009 deleteOrphanPages API inaccessible fr... Verified
11 status: Resolved
10 status: Resolved
Previous Issue Keys: LSNBLDR-718

 Description   

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.



 Comments   
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 Mon Aug 20 23:33:20 CDT 2018 using JIRA 7.5.0#75005-sha1:fd8c849d4e278dd8bbaccc61e707a716ad697024.