Giter Club home page Giter Club logo

cs_file_meta_fill's People

Contributors

clickstorm avatar mhirdes avatar pascalebeier avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cs_file_meta_fill's Issues

error after trying to upload files into filelist while editing text/media element

error after trying to upload files into filelist while editing text/media element

(1/1) TypeError
Argument 1 passed to Clickstorm\CsFileMetaFill\Utility\FluentImageSourceUtility::getFluentSentence() must be of the type string, array given, called in /var/.../typo3conf/ext/cs_file_meta_fill/Classes/Hooks/File.php on line 89

nevertheless the files will be uploaded but you have to close the "error"-modal and have to open it again.

Doesn't solve real problem

Hi,

there are similar extensions*, but I think neither solve the real problem, metadata should be filled on upload when you have real file name (not sanitized), so this should be solved before problem happens, not after that.

e.g. file for upload:
München Säbener Straße Ribéry.doc

filename after upload (sanitized):
Muenchen_Saebener_Strasse_Ribery.doc

then Fluent function tries to restore sanitized and damaged filename:
Muenchen Saebener Strasse Ribery.doc

The difference is clear, so metadata should be this:
München Säbener Straße Ribéry

and not this:
Muenchen Saebener Strasse Ribery

I have a case where editors upload several documents with filenames of 2-10 words and proper names. It would be crazy to ask them to manually fill metadata title.

I am not ext developer, but I found a way to hack the Core with (my) needed functionality, but ext solution will be much better.

*Similar ext:
https://extensions.typo3.org/extension/dd_filename2title/

In ext:media there is function:
https://github.com/fabarea/media/blob/master/Classes/Index/TitleMetadataExtractor.php

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.