Bug #65404

File collection : allow multiple category selection

Added by David Lemaitre about 4 years ago. Updated 8 days ago.

Status:
Accepted
Priority:
Should have
Assignee:
Category:
Categorization API
Start date:
2015-02-27
Due date:
2017-09-11
% Done:

0%

Estimated time:
1.00 h
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

It's currently not possible to create a file collection with multiple category selection.

History

#1 Updated by Andrea Herzog-Kienast about 4 years ago

Sorry, but can you create a file collection with a single category? Which TYPO3 Version do you use?

Best,
Andrea

#2 Updated by David Lemaitre about 4 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.

#3 Updated by Andrea Herzog-Kienast about 4 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

#4 Updated by Vincent Mans about 3 years ago

According to the logics of categorization, this is a musthave. Is this issue prioritized?

#5 Updated by martijn no-lastname-given almost 3 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

#6 Updated by martijn no-lastname-given over 2 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?

#7 Updated by Oliver Hader almost 2 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

#8 Updated by Oliver Hader almost 2 years ago

  • Category changed from File Abstraction Layer (FAL) to Categorization API
  • Assignee deleted (Frans Saris)

#9 Updated by Oliver Hader almost 2 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...

#10 Updated by martijn no-lastname-given over 1 year 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

#11 Updated by Benni Mack 8 days ago

  • Target version changed from next-patchlevel to Candidate for patchlevel

Also available in: Atom PDF