TC
Twill CMSsebastianlenton

Upgraded from Twill 2.13 to 3.2, frontend error when saving a module that uses 'editInModal' => true

I upgraded from Twill 2.13 to 3.2. When saving a module that is created/edited via a modal (using $indexOptions 'editInModal' => true the changes save to the DB, but afterwards an error occurs which locks up the frontend so the screen has to be refreshed. Steps to reproduce for my install are as follows: 1. Go to module (Projecttag) edit screen, add or edit a record, modal pops up. 2. Click "create/update". Screen overlays grey, yellow "success" bar pops up (changes do save to DB), but the overlay doesn't disappear due to an error, so the frontend locks up. The following errors are present: In browser console: TWILL - [CONTENT]: Request failed with status code 500 TWILL - [DATATABLE]: Get request error. In Network XHR tab: 500 Get request: https://mysite.test/my-admin-panel/designpages/projecttags?sortKey=&sortDir=asc&page=1&offset=21&columns[]=draggable&columns[]=bulk&columns[]=published&columns[]=title&filter[status]=all Response: json_decode(): Argument #1 ($json) must be of type string, array given File: /Users/me/Sites/mysite/vendor/area17/twill/src/Http/Controllers/Admin/ModuleController.php Line: 2135 Everything works correctly if I do not use editInModal - I'll have to fall back on that if I can't resolve the issue πŸ˜† Any ideas? Hope you can help, thank you very much as always.
I
ifoxβ€’60d ago
GitHub
Axios breaks datatable filters Β· Issue #2518 Β· area17/twill
Description The Axios update to v0.28.0 had some breaking changes in parameter serialization. Objects and Arrays are now provided in a bracket style instead of an object style: New: &filter[sta...
I
ifoxβ€’60d ago
we are going to release 3.2.1 asap this week, in the meantime going back to 3.1.0 would work
S
sebastianlentonβ€’52d ago
OK cool, thanks! Happy to wait a little longer, it's not urgent. Thanks again! πŸ˜ƒ @ifox any more news re 3.2.1?
I
ifoxβ€’51d ago
releasing this week @sebastianlenton
S
sebastianlentonβ€’39d ago
Thanks for the update, appreciated! Hey @ifox sorry to keep asking, any more news re 3.2.1? I think we'll have to roll back to 3.1 if it doesn't come this week. No problem if it's delayed- thank you. Just spotted it's been released now- I've been refreshing the Github releases page for weeks πŸ˜† Thank you very much!
I
ifoxβ€’39d ago
sorry for the delay @sebastianlenton
Want results from more Discord servers?
Add your server
More Posts
Upgraded from Twill 2.13 to 3.2, raw HTML links visible in browserHi, I upgraded from Twill 2.13 to 3.2. I am now seeing raw HTML edit links in my "Projecttags" browHow to use Conditional Fields in ControllerI want to add a Author select fields when shared_by === user ` $form->add( Radios::maBlock editor preview Vite issue?Hey all, I'm getting this when I preview a page module block editor in the admin:Upgrading from 2.0 to 3.0 -Block Editor $groups issueHello! I'm getting a strange error (see picture). I've tried clearing all caches. It only happens onInline Repeater get's overridden by another InlineRepeater with the same name in another block.The code in first image get's overriden by the code in the second image in admin panel. Normally, whTable custom columnHello! I created module Product and relationship with module Category. I would like to display categMulti select selected issueIn twill3 I created 2 CRUD, ImportedItem and ItemTypes. I used Multiselect for selecting ItemTypes. Upgrading from 2.0 to 3.0 - routing issuesHello! I'm currently updating twill to 3.0 from 2.0, and I'm having some issues with routes. I'm getDisabled defaults in controller based on user RoleGroupI want to disable, create, edit or delete actions according to user RoleGroup or there is another waDrag and drop issueHello, any idea how to achive DnD working on modules list. Problem is in that when you go below limiFile library 404 errorHello, I'm encountering issues with the file library. When I upload a file, such as a .txt file, it'InlineRepeater deleting data on related Model entriesI'm using an InlineRepeater to add relations with pivot data between two Repositories. The relations"astrotomic/laravel-translatable" n+1 queriesI've got a package issue which is composer required by twill. 800+ queries on a model only getting Repeaters and Blockeditor won't work with media library.I saw the pst regarding JSON repeaters. So I switched to the block editor for the content that NEEDSTag Field on Block not Displaying Saved TagsHello. I am using the Tag Field in a block, the tags are being saved correctly, but the field is cFile link in view issueHi everyone i'm trying to render a file in blade view bug seem difficult to me how can i render linIssue using repository methods??? Twill 3Can someone please provide any support for the following error: Declaration of App\Repositories\PostHow can I make sure my assets are loaded correctly on a subdomain?I have a site for example website.nl and a twill installation on website.nl/subsite Now when I go tI can't see any images in twill media library.Hello, everyone! I have installed twill and tried to upload a image to media library. However, I amDatePicker ExceptionI'm getting an unexpected error while using a pretty simple DatePicker in my sidebar form. `Undefin