Bug #65404
openFile collection : allow multiple category selection
0%
Description
It's currently not possible to create a file collection with multiple category selection.
Updated by Andrea Herzog-Kienast over 9 years ago
Sorry, but can you create a file collection with a single category? Which TYPO3 Version do you use?
Best,
Andrea
Updated by David Lemaitre over 9 years ago
I'm using TYPO3 6.2.11.
If I want to create a file collection by selecting 2 categories, I can't select more than one category in the category tree.
Updated by Andrea Herzog-Kienast over 9 years ago
- Assignee set to Frans Saris
OK,
I agree!
I tested:
Create a parent category "City".
Create some childs "Wien", "Dresden", "Buildings".
Create another parent "TYPO3" without children.
It is not possible to chose more than one category - not another parent and no childs.
It would also be great to chose a folder and categories, what even is not possible.
For me, it's a must have :).
Best,
Andrea
Updated by Vincent Mans over 8 years ago
According to the logics of categorization, this is a musthave. Is this issue prioritized?
Updated by martijn no-lastname-given over 8 years ago
Hey,
I'm using Typo3[7.6.9].
this is also a must-have for the project im currently working on. I'd just like to know if there any progress on this?
Kind regards
Martijn
Updated by martijn no-lastname-given almost 8 years ago
The problem here starts with the Table design as far as I can tell. The Table "sys_file_collection" has a field "category" which would restrict this relations to category to a "1:1" relation.
In order to resolve this issue, it would be necesarry to change the table, remove the "category" column, create a table similar to "sys_category_record_mm" and store the "filecollection - category" relationship in a "many-to-many" fashion there.
My Question, if im correct, are as follows:
- If I'd fix this in typo3 v7 LTS - will these changes merge into 8 LTS?
Updated by Oliver Hader over 7 years ago
- Tracker changed from Feature to Bug
- Status changed from New to Accepted
- TYPO3 Version set to 8
- PHP Version changed from 5.4 to 7.0
Updated by Oliver Hader over 7 years ago
- Category changed from File Abstraction Layer (FAL) to Categorization API
- Assignee deleted (
Frans Saris)
Updated by Oliver Hader over 7 years ago
Just to be sure: This issue is about table sys_file_collection, correct? The field category is defined a 1:1 assignment to sys_category (be aware that this is a field for querying results, not to define categories for a file collection). Using an MM approach does not seem to fit here - in no way the relations shall be stored in the existing sys_category_record_mm table - having a simple list of category UIDs seems to be fine here. These can be use to run a subquery against existing relations to determine the result-set.
If it's going to be a list of UIDs, no further upgrade wizard have to be implemented since the current definition is a "list" as well, with just only one item...
Updated by martijn no-lastname-given about 7 years ago
- Due date set to 2017-09-11
- Assignee set to Oliver Hader
- Target version set to next-patchlevel
- Estimated time set to 1.00 h
- Complexity set to no-brainer
Updated by Benni Mack over 5 years ago
- Target version changed from next-patchlevel to Candidate for patchlevel
Updated by Riccardo De Contardi over 5 years ago
This is still present on version 10.0.0-dev (latest master)
Updated by Susanne Moog over 4 years ago
- Assignee deleted (
Oliver Hader) - Estimated time deleted (
1.00 h) - Complexity deleted (
no-brainer)
Please do not assign issues to people without talking to them and do not set estimates for those people.
Updated by Benni Mack 4 months ago
OK. In order to tackle this, let's define that selecting multiple categories would mean, that we would need to do a "OR" connection - get me all files that are either in category A OR category B.