Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

openy_loc_branch has undeclared dependency to openy_node_alert #2462

Open
froboy opened this issue May 28, 2021 · 5 comments
Open

openy_loc_branch has undeclared dependency to openy_node_alert #2462

froboy opened this issue May 28, 2021 · 5 comments
Labels
dependencies Issues with dependencies Type: Bug Bug. Something is not working as intended.

Comments

@froboy
Copy link
Collaborator

froboy commented May 28, 2021

use Drupal\openy_node_alert\Service\AlertBuilderInterface;

This line references openy_node_alert, but

does not list that module as a dependency. This could result in unexpected errors if openy_loc_branch is enabled without openy_node_alert.

@podarok
Copy link
Contributor

podarok commented May 28, 2021

@froboy openy_node_alert is a dependency in OpenY profile. It can't be disabled as of now.

@podarok
Copy link
Contributor

podarok commented May 28, 2021

Hm, not true..
https://github.com/ymcatwincities/openy/search?l=YAML&q=openy_node_alert

Dependency management should become better with decoupling

@podarok podarok added the dependencies Issues with dependencies label May 28, 2021
@froboy
Copy link
Collaborator Author

froboy commented May 28, 2021

Well... openy_node_alert is a part of the alerts package:

name: 'Alerts'
description: 'Alerts package provides an ability to create and manage website alerts.'
help: '<p>Using Alerts package you can create, select placement, select color schema and publish alerts that should notify visitors about important events or announcements.</p>'
modules:
- openy_txnm_color
- openy_node_alert

The alerts package is installed with all three install types:

name: Standard
packages:
- alerts

extended:
name: Extended
packages:
- alerts

complete:
name: Complete/Developer
hidden: true
packages:
- activenet
- alerts

So while it's installed with every Open Y installation, it's treated more like a soft dependency, so it could be uninstalled after install, which would then cause problems (much like we're seeing). :)

@podarok podarok added the Type: Bug Bug. Something is not working as intended. label Oct 25, 2021
@sarah-halby
Copy link
Collaborator

@shelleygoetz do we have a jira ticket for this issue?

@shelleygoetz
Copy link
Collaborator

shelleygoetz commented Dec 13, 2021

@sarah-halby we do, I must have missed putting the link in here. See: (https://openy.atlassian.net/browse/MAINTAIN-182)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Issues with dependencies Type: Bug Bug. Something is not working as intended.
Projects
None yet
Development

No branches or pull requests

4 participants