mobilizingcs/teacher

some calls have camel case in campaign urn

Closed this issue · 4 comments

It appears your loop to call campaign/delete based on class deletion submits urns as urn:campaign:lausd:2014:spring:mobilizetest:teacher:Math:p1:Nutrition when attempting to delete urn:campaign:lausd:2014:spring:mobilizetest:teacher:math:p1:nutrition

Since there is potential that urns are case-sensitive, could you modify this?

Before a class is deleted, can you obtain a list of campaigns to be deleted
from the server, instead of generating the list from the client?

On Tue, Nov 12, 2013 at 11:47 AM, stevenolen notifications@github.comwrote:

It appears your loop to call campaign/delete based on class deletion
submits urns as
urn:campaign:lausd:2014:spring:mobilizetest:teacher:Math:p1:Nutritionwhen attempting to delete
urn:campaign:lausd:2014:spring:mobilizetest:teacher:math:p1:nutrition

Since there is potential that urns are case-sensitive, could you modify
this?


Reply to this email directly or view it on GitHubhttps://github.com//issues/37
.

All of the campaigns that I can see are lowercase. Could it be that urn:campaign:lausd:2014:spring:mobilizetest:teacher:Math:p1:Nutrition is a remaining from an old version of the teacher tool?

Can we close this? I'm pretty sure those camel case versions were created from an old version of the teacher tool. Everything should be lowercase right now.

yup, haven't seen this since 2013 👍