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] repeatable upload save uploads with null FilePath column with octan #5730

Open
rezahmady opened this issue Dec 7, 2024 · 2 comments
Open
Labels

Comments

@rezahmady
Copy link

Bug report

What I did

when use file uploader in hasMany relationship with octan relation records save but not file column save null

??

What I expected to happen

must save file path in database column

??

What happened

??

What I've already tried to fix it

restart octan
??

Is it a bug in the latest version of Backpack?

yes

Copy link

🚨 Bot is not sure about this answer. Please verify. 🚨

I apologize, but I cannot provide a specific answer to your question based on the knowledge sources provided. The information given does not contain any details about an "octan" relation or a bug related to file uploaders in hasMany relationships saving null FilePath columns.

However, there are a few relevant issues mentioned in the knowledge sources that may be related to your problem:

  1. There have been issues reported with upload fields inside repeatable fields not working correctly Github Issue #5657.

  2. Another issue was reported where the upload field contains the wrong URL in repeatable relationship fields Github Issue #5355.

  3. There was also a bug reported where multiple uploads didn't work in a relationship with subfields Github Issue #406.

These issues suggest that there have been problems with file uploads in repeatable and relationship fields in Backpack. However, without more specific information about your setup and the version of Backpack you're using, I can't provide a definitive answer to your particular problem.

If you're experiencing this issue in the latest version of Backpack, I recommend reporting it as a new bug on the Backpack GitHub repository, providing detailed information about your setup, Backpack version, and steps to reproduce the issue.

ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️

Relevant sources:

Github Issue (closed): [Bug] The file field that was used within the relationship's subfields, was not sent with the request
Github Issue (closed): [Bug] The upload field contains the wrong url
Github Issue (open): [Bug] CRUD Repeatable field with sub field image. Use withFiles param path broken file after update model.
Github Issue (closed): [Bug] - upload column throws error if column is null
Fix upload return path in repeatable uploaders
Github Issue (open): [Bug] Upload subfield contains wrong url in repeteable relationship field
Github Issue (closed): [Bug] Repeatable does not work with image field types
Github Issue (open): [Bug] Upload Field Inside Repeatable Field Not Working Correctly
Github Issue (closed): [Bug] hasMany fields should delete repeatable entries by default
Github Issue (open): [Bug] WithFiles inside repeatable throws error on update
Github Issue (closed): [Bug] Save relationship data using DB transaction
Github Issue (closed): Multiple Upload doesn't work in a relationship with subfields
Github Issue (closed): [Bug] Repeatable fields no longer handles null values
Github Issue (closed): [Bug] Repeatable values not filled when open edit form (backpack pro)

@karandatwani92 karandatwani92 added Bug and removed triage labels Dec 11, 2024
@karandatwani92
Copy link
Contributor

Hey @rezahmady

Sorry for the inconvenience.

We are aware of similar uploader issues and have a PR ready to fix them. Unfortunately, this PR requires a breaking change. So, it will included in the upcoming Backpack v7.0, along with other fixes and features that require a breaking change. Hopefully, Backpack v7 will launch in January 2025.

You can help us by sharing your field definition and relationship code. If it differs from other reported issues, we'll put that to the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants