Skip to content

Viewing related proposals even if the component is unpublished #3411

@isaacmg410

Description

@isaacmg410

Describe the bug
As an Admin, I have a component Proposals, with "N" proposals created. Then, I have created a new ProposalComponent and I have imported the Proposals with status Accepted of ProposalComponent 1. Finally I have disabled Component ProposalComponent 1.

If the ProposalComponent 1 is disabled, Why I'm seeing the related Proposals of the first component in the show view of the new ProposalComponent?
Should not they be hidden?

To Reproduce
Steps to reproduce the behavior:

  1. Create two ProposalComponent in the same Process
  2. Import accepted proposals from one component to other component
  3. Disabled the first component
  4. I can see the related proposals of first component in the second component

Expected behavior
Don't see the related proposals of component 1.

Screenshots
If applicable, add screenshots to help explain your problem.

Stacktrace
If applicable, add the error stacktrace to help explain your problem.

Extra data (please complete the following information):

  • Device: [e.g. iPhone6, Desktop]
  • Device OS: [e.g. iOS8.1, Windows 10]
  • Browser: [e.g. Chrome, Firefox, Safari]
  • Decidim Version: [e.g. 0.10]
  • Decidim installation: [e.g. MetaDecidim]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions