jmix icon indicating copy to clipboard operation
jmix copied to clipboard

Ability to extend supported extension - file parser mapping

Open fractal3000 opened this issue 1 year ago • 0 comments

It is a more profound fix of the problem https://github.com/jmix-framework/jmix/issues/3660

Steps To Reproduce

Create project with search add-on. Create entity with field of "FileReference" type. Create search index definition with pointing of the attribute. Start project Login to UI Add enitities data with adding files of some not-document format(e.g. sql) See the console log

Current Behavior Long stack trace is appeared.

Expected Behavior There is human readable message obout using not supporting file format.

Steps To Reproduce

Create project with search add-on. Create entity with field of "FileReference" type. Create search index definition with pointing of the attribute. Start project Login to UI Add enitities data with adding files without any extension See the console log

Current Behavior Long stack trace is appeared.

Expected Behavior There is human readable message obout using not supporting file format.

The problem with uppercase extensions also should be solved https://github.com/jmix-framework/jmix/issues/3696

A programmer should be able to add more supported file extensions without modifing any service beans logic.

fractal3000 avatar Sep 11 '24 14:09 fractal3000