Project

General

Profile

GX-Bug #68203

Gambio HUB menu entries are displayed twice | Gambio Hub Menüeinträge werden doppelt angezeigt

Added by Tobias Schindler 11 months ago. Updated 5 months ago.

Status:
Erledigt
Priority:
Hoch
Category:
HubConnector
Target version:
% Done:

0%

Estimated time:
Steps to reproduce:
Betroffene Versionen:
4.3.3.0 beta1
Release Notes Langtext:

Gambio Hub Menüeinträge werden nicht mehr doppelt angezeigt


Description

In some case, it is possible that some menu items of the gambio hub are displayed twice.

The twice displayed item is Orders -> Payment Matching (German: Bestellungen -> Zahlungsabgleich)

Reproduce:

Database gx_configurations entries

gm_configuration/GAMBIO_HUB_CLIENT_KEY: 123-123
gm_configuration/GAMBIO_HUB_MECO_MEDIA_SHOP_ID: 123-123
gm_configuration/GAMBIO_HUB_MECO_MEDIA_MONEY_ORDER: 1
gm_configuration/GAMBIO_HUB_MECO_MEDIA_INVOICE: 1

Content of src/GXModules/Gambio/Hub/Admin/Menu/hub.menu.json

[
    {
        "id": "BOX_HEADING_ORDERS",
        "items": [
            {
                "sort": 15,
                "link": "admin.php",
                "link_param": "do=PaymentMatchingHub",
                "title": "admin_menu.BOX_HUB_PAYMENT_MATCHING",
                "if": [
                    {
                        "filter": "configExists",
                        "args": [
                            "GAMBIO_HUB_CLIENT_KEY",
                            "GAMBIO_HUB_MECO_MEDIA_SHOP_ID"
                        ]
                    },
                    {
                        "filter": "configActive",
                        "args": [
                            "GAMBIO_HUB_MECO_MEDIA_MONEY_ORDER"
                        ]
                    }
                ]
            },
            {
                "sort": 15,
                "link": "admin.php",
                "link_param": "do=PaymentMatchingHub",
                "title": "admin_menu.BOX_HUB_PAYMENT_MATCHING",
                "if": [
                    {
                        "filter": "configExists",
                        "args": [
                            "GAMBIO_HUB_CLIENT_KEY",
                            "GAMBIO_HUB_MECO_MEDIA_SHOP_ID"
                        ]
                    },
                    {
                        "filter": "configActive",
                        "args": [
                            "GAMBIO_HUB_MECO_MEDIA_INVOICE"
                        ]
                    }
                ]
            }
        ]
    },
    {
        "id": "BOX_HEADING_HUB",
        "sort": 250,
        "class": "fa fa-share-alt-square",
        "title": "admin_menu.BOX_HEADING_HUB",
        "items": [
            {
                "sort": 10,
                "link": "admin.php",
                "link_param": "do=HubConfiguration/Account",
                "title": "admin_menu.BOX_HUB_ACCOUNT"
            },
            {
                "sort": 20,
                "link": "admin.php",
                "link_param": "do=KlarnaHubSettlements",
                "title": "Klarna Settlements",
                "if": {
                    "filter": "configExists",
                    "args": [
                        "GAMBIO_HUB_CLIENT_KEY",
                        "GAMBIO_HUB_REMOTE_CONFIG_KLARNAHUB_DEBUGLOGGING"
                    ]
                }
            },
            {
                "sort": 30,
                "link": "admin.php",
                "link_param": "do=KlarnaHubBoost",
                "title": "Klarna Boost",
                "if": {
                    "filter": "configExists",
                    "args": [
                        "GAMBIO_HUB_CLIENT_KEY",
                        "GAMBIO_HUB_REMOTE_CONFIG_KLARNAHUB_DEBUGLOGGING"
                    ]
                }
            }
        ]
    }
]

History

#1

Updated by Moritz Bunjes 11 months ago

  • Tags set to 4.3.3.0
#2

Updated by Moritz Bunjes 11 months ago

  • Subject changed from Gambio HUB menu entries are displayed twice to Gambio HUB menu entries are displayed twice | Gambio Hub Menüeinträge werden doppelt angezeigt
  • Betroffene Versionen 4.3.3.0 beta1 added
  • Betroffene Versionen deleted (Unbestimmt)
#3

Updated by Mirko Janssen 11 months ago

  • Status changed from In Bearbeitung to Testing
  • Assignee changed from Tobias Schindler to Mirko Janssen
#4

Updated by Mirko Janssen 11 months ago

  • Assignee changed from Mirko Janssen to Core-Entwickler

Did the code review. MR was fine.

#5

Updated by Julian Heckmann 11 months ago

  • Assignee changed from Core-Entwickler to Julian Heckmann
#6

Updated by Julian Heckmann 11 months ago

  • Status changed from Testing to Erledigt
  • Target version changed from 133 to 4.3.3.0
  • Release Notes Langtext updated (diff)
#7

Updated by Moritz Bunjes 5 months ago

  • Tags deleted (4.3.3.0)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 5 MB)