You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
Make the directus files system collection read for role public (in settings-user roles/permissions)
Call the api end point (query: /_/items/panels?fields=id,title,image.id,image.filename,image.type,image.width,image.height,image.data.full_url,website&meta=total_count,result_count&offset=0)
Get the results as expected but with the following two lines appended:
Notice: Undefined index: uploaded_by in D:\home\site\directus\src\core\Directus\Database\TableGateway\RelationalTableGateway.php on line 1767
Notice: Undefined index: folder in D:\home\site\directus\src\core\Directus\Database\TableGateway\RelationalTableGateway.php on line 1767
The text was updated successfully, but these errors were encountered:
verbman
changed the title
Making files public in roles/permissions generates error in API request
Making files public in roles/permissions generates warning in API request
Nov 12, 2018
I just encounter this and solved it by allowing folders and users to the public, the later is not something i would like to keep. Also to note this happened only on one entry of the collection. I could see that the problem lies when you request all fields of any file.
Also, the user who uploaded the entry that triggered the fail was not the first admin, maybe there is something there.
Due to inactivity I will be closing this ticket. If someone still experience this issue in the current version please let us know, and we will re-open this ticket.
Undefined index notice.
Steps to reproduce:
/_/items/panels?fields=id,title,image.id,image.filename,image.type,image.width,image.height,image.data.full_url,website&meta=total_count,result_count&offset=0
)Get the results as expected but with the following two lines appended:
Notice: Undefined index: uploaded_by in D:\home\site\directus\src\core\Directus\Database\TableGateway\RelationalTableGateway.php on line 1767
Notice: Undefined index: folder in D:\home\site\directus\src\core\Directus\Database\TableGateway\RelationalTableGateway.php on line 1767
The text was updated successfully, but these errors were encountered: