Project

General

Profile

Bug #20990

Combine campaign/campaign_stage names for POMS_CAMPAIGN_NAME for monitoring

Added by Marc Mengel over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10/02/2018
Due date:
% Done:

0%

Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

Now that campaign stage names are unique only within a campaign, we should include both the campaign name and campaign stage name as POMS_CAMPAIGN_NAME passed into jobsub.

...unless they're identical, or share a prefix in which case we should prune a bit.

History

#1 Updated by Marc Mengel over 1 year ago

Tested in development. Fixed in:

568b010edfecbee75999f011e9912ef5c4af8c32

-            cname = cs.name
+            # isssue #20990
+            if cs.name == cs.campaign_obj.name:
+                cname = cs.name
+            elif cs.name[:len(cs.campaign_obj.name)] == cs.campaign_obj.name:
+                cname = "%s::%s" % (cs.campaign_obj.name , cs.name[len(cs.campaign_obj_name):])
+            else:
+      
          cname = "%s::%s" % (cs.campaign_obj.name, cs.name)
+

#2 Updated by Marc Mengel over 1 year ago

  • Status changed from New to Closed

Patched in production.



Also available in: Atom PDF