Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: fileselect verändert datei #2925

Open
1 task done
BenAhrdt opened this issue Jan 25, 2025 · 7 comments
Open
1 task done

[bug]: fileselect verändert datei #2925

BenAhrdt opened this issue Jan 25, 2025 · 7 comments

Comments

@BenAhrdt
Copy link

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

Wenn man eine Datei mit fileselect uploaded, dann wird diese nicht 1:1 auf das System geladen und beim wiedereinlesen, entstehen falsche Werte.

To Reproduce

ein fileselect in der jsonconfig erstellen und datei uploaden

Expected behavior

Datei 1:1 hochladen

Screenshots & Logfiles

Hier ein Screenshot einer Datei vor und nach dem Upload. (Der Anfang ist verändert)

Image

Adapter version

Admin 7.4.15

js-controller version

7.0.6

Node version

20.17.0

Operating system

dev-server

Additional context

No response

@BenAhrdt BenAhrdt added the bug label Jan 25, 2025
@mcm1957
Copy link
Contributor

mcm1957 commented Jan 25, 2025

Issue betrifft Komponente fileSelector

OT Nebenfrage:
Was ist eigentlich der Unterschied zwischen dn Komponenten fileSelector und file

@GermanBluefox
Copy link
Contributor

Ich kann das nicht mit Redis reproduzieren....

@BenAhrdt
Copy link
Author

Ich kann das nicht mit Redis reproduzieren....

Tritt nur bei fileselctor auf.
Nicht bei Upload mit Komponente file

@GermanBluefox
Copy link
Contributor

fileselctor

Ich verstehe nicht was unter FileSelector gemeint ist?

@mcm1957
Copy link
Contributor

mcm1957 commented Jan 26, 2025

ben spricht von fileSelector bzw file Komponente in jsonConfig.

Siehe auch https://t.me/c/1697676361/17247

@GermanBluefox
Copy link
Contributor

GermanBluefox commented Jan 26, 2025

Issue betrifft Komponente fileSelector

OT Nebenfrage: Was ist eigentlich der Unterschied zwischen dn Komponenten fileSelector und file

FileSelector Erlaubt Auswahl als DropDown Menu von einer Datei aus dem Verzeichnis, z.B. aus sayit.0

Image

Und wenn man will, eine Datei upzuloaden

File erlaubt nur eine bestimmte Datei z.B. 0_userdata/myfile.png auszuwählen und das wird in Textfeld angezeigt

@GermanBluefox
Copy link
Contributor

Muss sagen, dass keine bis jetzt das für die Textdateien benutz hat. Es war nur mit mp3 ausprobiert. Aber ich konnte das Problem nachstellen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants