[BUG] creation of collection with single apex " ' " in the name
Bug description
I created in YODA 1.6 as a normal user a folder in a research group:
/yoda/home/research-surftest/Claudio's test
I am able nor to remove the folder via the GUI, neither to remove the files inside it. I added metadata to the collection and I am not able to view the metadata I added through the GUI, but they are correctly stored in iRODS.
Steps to reproduce
- create a folder with character " ' " in the name in a research group as a normal user via YODA web portal
- upload data to the folder via YODA web portal
- edit the metadata via YODA web portal
- try to remove the data via YODA web portal
- try to visualize the metadata previously entered via YODA web portal
Actual result:
- try to remove the data via YODA web portal Got a message in the pop-up windows stating "The selected folder to add a new folder to does not exist"
- try to visualize the metadata previously entered via YODA web portal The metadata fields are empty
Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)
- try to remove the data via YODA web portal the file is deleted
- try to visualize the metadata previously entered via YODA web portal I see the metadata
Addtional info
Yoda version: v1.6 Ansible version: v0.0.0 Operating system: centos7 Browser: Firefox 87
Screenshots / debug log

This looks like an iRODS bug: https://github.com/irods/irods/issues/4887#issuecomment-769085378
Resolved in v4.2.9 and later.
Some edge cases still exist in v4.2.11 / v4.2.12. (https://github.com/irods/irods/issues/5727) Probably fixed in v4.3.1.
@lwesterhof Will this be fixed in Yoda 1.9? I had a user adding a folder with an apostrophe in the folder name. The contents of the folder were not visible in the Yoda webportal but were visible in a webdav connection (Windows webdavclient and cuberduck). Once a copy of the folder was made by Ander removing the apostrophe, the contents were visible in the webportal.
Unfortunatly not, we are investigating possible workarounds, but for the proper fix we need iRODS 4.3.x with the new GenQuery parser implementation. That will probably land in Yoda 2.0.
@lwesterhof Thanks for letting me know. I was now wondering if my issue is actually related to the current issue. If it was an iRODS issue, wouldn't the folder contents be inaccessible regardless of client? I'm only unable to view subfolders if a parent folder has an apostrophe in the webportal, but am able to view it in other clients (if it is a webportal issue, I'll be happy to create a new issue).
It is related, the bug is in the iRODS GenQuery parser (which is used by the portal). You can also reproduce it using the iCommands doing an iquest, see for an example https://github.com/irods/irods/issues/5727