Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
feeds
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
feeds
Merge requests
!213
Display name of directory that cannot be created in FeedsFileSystemBase and in UploadFetcherForm.
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Display name of directory that cannot be created in FeedsFileSystemBase and in UploadFetcherForm.
issue/feeds-3505403:3505403-dir-in-error-msg
into
8.x-3.x
Overview
0
Commits
2
Pipelines
4
Changes
3
Merged
Display name of directory that cannot be created in FeedsFileSystemBase and in UploadFetcherForm.
Youri van Koppen
requested to merge
issue/feeds-3505403:3505403-dir-in-error-msg
into
8.x-3.x
3 months ago
Overview
0
Commits
2
Pipelines
4
Changes
3
Closes
#3505403
0
0
Merge request reports
Compare
8.x-3.x
version 2
57cdbb12
3 months ago
version 1
5ea30318
3 months ago
8.x-3.x (base)
and
latest version
latest version
12a1669a
2 commits,
3 months ago
version 2
57cdbb12
2 commits,
3 months ago
version 1
5ea30318
1 commit,
3 months ago
3 files
+
7
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
src/Feeds/Fetcher/Form/UploadFetcherForm.php
+
3
−
1
View file @ 12a1669a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -86,7 +86,9 @@ class UploadFetcherForm extends ExternalPluginFormBase implements ContainerInjec
// Ensure that the upload directory exists.
if
(
!
empty
(
$form
[
'directory'
])
&&
!
$this
->
fileSystem
->
prepareDirectory
(
$values
[
'directory'
],
FileSystemInterface
::
CREATE_DIRECTORY
|
FileSystemInterface
::
MODIFY_PERMISSIONS
))
{
$form_state
->
setError
(
$form
[
'directory'
],
$this
->
t
(
'The chosen directory does not exist and attempts to create it failed.'
));
$form_state
->
setError
(
$form
[
'directory'
],
$this
->
t
(
'The chosen directory "@directory" does not exist and attempts to create it failed.'
,
[
'@directory'
=>
$values
[
'directory'
],
]));
}
}
Loading