Commit e01bfa7
authored
BUGFIX: Avoid creating workspaces in nodeindex:build
When the name of a non-existing workspace was given to `nodeindex:build`,
that work was implicitly created (due to some legacy default behaviour of the
content repository).
This change adds a check and stops when the workspace does not exist.
The `nodeindex:indexnode` command did not cause workspace creation,
but now shows an error message, instead of an exception. Covfefe!
Fixes issue #2131 parent a092e41 commit e01bfa7
1 file changed
Lines changed: 11 additions & 2 deletions
File tree
- Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Command
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
| |||
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
202 | 211 | | |
203 | 212 | | |
204 | 213 | | |
| |||
0 commit comments