Details
-
Type: Task
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 1.4.0
-
Fix Version/s: 1.5.0
-
Component/s: Site Generation Service
-
Labels:None
-
Environment:
optus dev
Description
I discovered an issue in Content Model but I am making this a task because further investigation is needed to determine what pieces of the system are being affected and if there are more issues.
When a deploySite() request is passed in and the customer has a campaign removed from the request, the SiteService behavior is that the campaign that is not included gets deleted. This is working as expected in site_generation.customerBAreaBLocationPairs. However, the campaigns are not being deleted in the content_model DB.
As of right now, I know at least site links rely on the content_model DB being up-to-date. As a workaround until this task can be done, I am going to have site links be driven by the list of customer campaigns that come from site_generation.customerBAreaBLocationPairs, as I have verified that works correctly.
TODO
1) find references to content_model DB (via CustomerCampaignService, CustomerSiteService, CustomerBusinessAreaService, CustomerPageService, CustomerAdCopyService, CustomerKeywordService or direct DB queries)
2) for each of the services above, investigate they are updated as expected (are they all driven by SiteService deploySite()?)