Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#2130 closed change (fixed)

[ Anwiki to CMS migration] Get rid of unconditional sitescripts dependency

Reported by: trev Assignee: trev
Priority: P4 Milestone:
Module: Websites Keywords:
Cc: Blocked By:
Blocking: #2035 Platform: Unknown
Ready: yes Confidential: no
Tester: Verified working: yes
Review URL(s):



Once #2126 is fixed it can no longer be assumed that sitescripts are present if our CMS is running. This is an assumption made by the get_subscriptions filter in the repository however. It currently makes the test server error out for any page, not just the subscription page.

What to change

Import sitescripts.subscriptions.subscriptionParser only when the filter is used, not immediately. This way if sitescripts aren't there only the subscriptions page will error out.

Change History (3)

comment:1 Changed 5 years ago by trev

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 5 years ago by trev

  • Resolution set to fixed
  • Status changed from reviewing to closed

comment:3 Changed 5 years ago by Ross

  • Verified working set

This has been done. Only the subscriptions page will error if sitescripts is missing. / r68

Note: See TracTickets for help on using tickets.