Skip to content

Always show message about missing AMPF, when it's missing#22337

Open
NobodysNightmare wants to merge 1 commit intodevfrom
missing-ampf-folder-hint
Open

Always show message about missing AMPF, when it's missing#22337
NobodysNightmare wants to merge 1 commit intodevfrom
missing-ampf-folder-hint

Conversation

@NobodysNightmare
Copy link
Contributor

The previous check was overly specific. In case when the projectFolderHref was not null, but undefined, it would not correctly recognize the missing project folder.

This caused the corresponding alert to be properly shown in the file-picker-modal, but not in the location-picker-modal.

Ticket

https://community.openproject.org/wp/73122

Note

We are now also offering the user to upload the file to a location outside the AMPF. At first this surprised me, but I verified in a healthy project, that we never limit the location where a user can upload a file. The AMPF is just the default selection. Thus it's only consistent to also behave the same here and allow an upload anywhere, while showing a warning message.

The previous check was overly specific. In case when the projectFolderHref
was not null, but undefined, it would not correctly recognize the missing project folder.

This caused the corresponding alert to be properly shown in the file-picker-modal,
but not in the location-picker-modal.
@NobodysNightmare NobodysNightmare requested a review from a team March 13, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant