Skip to content

Subproject is not updated on save/build #3396

@agjohnson

Description

@agjohnson

When changing a subproject of a superproject, for instance updating the privacy level of the project, symlinks for the superproject are not updated. This might be a regression.

To reproduce

  • Create a project A, privacy level public
  • Create a project B, privacy level private
  • Assign project B as a subproject of project A
  • Project B URLs should 404
  • Alter project B privacy level to public
  • Project B URLs still 404

Expected Result

  • Project B URLs shouldn't 404 after updating to public privacy level

Resolving

We should either trigger a save of the project's superproject, or explicitly call a task for re-symlinking the project in the following cases:

  • When a subproject is deleted
  • When a subproject privacy level is changed
  • When a subproject version privacy level is changed (?? not sure here, might need testing on this as well)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions