-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap25-feedbackbugfeature: workflows
Description
Steps to reproduce
- Create a new flow (concrete workflow app doesn't matter)
- Choose
File MIME type - Choose
matches(ordoes not match) - Choose
PDF documents(orFolder)
Note: the filters for
ImagesandOffice Documentsare working.
Expected behaviour
Workflow can be created
Actual behaviour
If i try to save the workflow an error message is raised "The given regular expression is invalid"
Server configuration
Operating system: Ubuntu 20.04
Web server: Apache2
Database: MySql 8.0
PHP version: 7.4
Nextcloud version: 20.0.1
Additional information
- I think this only applies to Nextcloud 20 or later (because like i saw the filter "matches" is not available in NC 19)
- The error message comes from
throw new \UnexpectedValueException($this->l->t('The given regular expression is invalid'), 2); - The defined regex patterns at and
pattern: 'httpd/unix-directory', does not seem to be corret. These are passed to the serverside function mentioned above.pattern: 'application/pdf',
Currently there is also an open issue at R0Wi-DEV/workflow_ocr#32 where multiple users reported this problem.
loxK, cyroxx, FernandoMarques-Santos, LotusAxt, funbotan and 1 more
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap25-feedbackbugfeature: workflows
