TYPO3-Headless / headless

TYPO3 Headless JSON API providing content for PWA application (e.g. javaScript apps like nuxt-typo3)
https://t3headless.io
GNU General Public License v2.0
159 stars 60 forks source link

[BUGFIX] Fix UIDs for files depending on class implementing FileInterface #761

Open dvdmlln opened 2 months ago

dvdmlln commented 2 months ago

When using a file collection the fileReferenceUid field contains the actual file UID, while the uidLocal field is null. In this case, there is no FileReference, so fileReferenceUid field should be null. uidLocal should always contain the file UID.

Maybe rename $fileReference variable to $file to avoid confusion?

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 10402269260

Details


Totals Coverage Status
Change from base Build 10389428375: 0.0%
Covered Lines: 1105
Relevant Lines: 1634

💛 - Coveralls