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
Tried to edit the number_with_prefix fake field inside Monster, in the new scenarios we've created (Story, Cave, Hero) to test which subfields work inside the relationship field.
What I expected to happen
Fake subfields to work, to get saved.
What happened
Fake fields do NOT get saved when used as subfields:
(A) inside Caves (hasOne) it will not work, but not show any error either
(B) inside Stories (hasMany) it will not work AND show a big fat error
(C) inside Heroes (belongsToMany with extra pivot attributes) I haven't tried it yet since the whole CRUD is broken at the moment
IMPORTANT: I'm not saying they must work. I'm saying they don't. Not sure we should do anything about this. Because that "anything" probably involves moving the fake field functionality from the CreateOperation and UpdateOperation to a CrudPanel trait. Which will be YET ANOTHER breaking change...
We need to talk about this one, think about it... analyze what's intuitive/useful and how/if we can proceed.
Is it a bug in the latest version of Backpack?
Happening both on 4.2 and on create-all-relations-at-same-time branches.
The text was updated successfully, but these errors were encountered:
Bug report
What I did
Tried to edit the
number_with_prefix
fake field inside Monster, in the new scenarios we've created (Story, Cave, Hero) to test which subfields work inside therelationship
field.What I expected to happen
Fake subfields to work, to get saved.
What happened
Fake fields do NOT get saved when used as subfields:
(A) inside Caves (

hasOne
) it will not work, but not show any error either(B) inside Stories (


hasMany
) it will not work AND show a big fat error(C) inside Heroes (
belongsToMany
with extra pivot attributes) I haven't tried it yet since the whole CRUD is broken at the momentIMPORTANT: I'm not saying they must work. I'm saying they don't. Not sure we should do anything about this. Because that "anything" probably involves moving the fake field functionality from the CreateOperation and UpdateOperation to a CrudPanel trait. Which will be YET ANOTHER breaking change...
We need to talk about this one, think about it... analyze what's intuitive/useful and how/if we can proceed.
Is it a bug in the latest version of Backpack?
Happening both on
4.2
and oncreate-all-relations-at-same-time
branches.The text was updated successfully, but these errors were encountered: