Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-4901

P4CG Campaign Sidebar: Ensure fields with dependencies get the right defaults

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Released
    • Icon: Should have Should have
    • 2.29
    • None
    • 4
    • Campaigns
    • Sprint #129

      There is a minor bug in the campaign defaults, to reproduce it you have to:

      • Create an Arctic Campaign
      • Set the Logo to Greenpeace
      • Set the Logo Color to "green"
      • Update the Campaign
        • Check the logo, it should be Greenpeace's green logo
      • Set the Logo to *Arcti*c
        • Observe the Logo Color option: "Light" is selected automatically
      • Open the Inspector tools and the Network tab
      • Update the Campaign
        • Check the network on update: campaign_logo is "arctic" and "campaign_logo_color" is green.

       

      A patch was added in this commit:
      https://github.com/greenpeace/planet4-master-theme/pull/1048/commits/faad90d6e92b7882cc5af2c2a6bebaad9a193e95

      So this is not visible for the user, it's only a glitch in the background.

      Tasks

      • Look for a solution in the client side, probably around resolveDependency.
      • Remove (revert) the committed patch

       

            pcuadrad Pablo Cuadrado (Inactive)
            pcuadrad Pablo Cuadrado (Inactive)
            Pieter Vincent Pieter Vincent
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: