helhum / upload_example

File Upload using Extbase and FAL
101 stars 49 forks source link

"Ref." column in Filelist is not counting up in TYPO3 8.7.19 #34

Closed markustobler closed 6 years ago

markustobler commented 6 years ago

I tested the example with my own model in TYPO3 8.7.19. Everything works fine except the "Ref." column in Filelist has no Reference. Does anybody now what could be the problem?

filelist

kitzberger commented 6 years ago

If I’m not completely off here, i think that column got refactored in 8.7 and doesn’t show the number at all anymore...

markustobler commented 6 years ago

The number appears after I open the data record in the backend and click save.

If that Example is not working anymore for TYPO3 8.7 what approach would you recommend for saving images in the frontend? Even the official TYPO3 documentation links to this repository.

helhum commented 6 years ago

@markustobler

The reference index is never updated by default when creating records via Extbase in the frontend.

You can try setting config.tx_extbase.persistence.updateReferenceIndex = 1 and see if this helps.

Other than that, you could schedule updating the reference index, which then should pick up references created by Extbase

markustobler commented 6 years ago

@helhum Thank you for your help it worked perfect 🎉