Paint Layout: Nested Content Div will not save Nested Asset

We are running 4.4.1 and everything was running great. Until now.


I was updating a paint layout that has a nested content div, when I hit submit, the nested asset was removed. So, I tried adding it again, and it wouldn't take it. So, I did more testing, created new paint layouts, tested another and NO nested content div will save the asset id inside a paint layout.



When I hit submit it is like it clears the asset id, because it again just says "No page has been selected".



This is a major problem since that page that I just updated now lost its nested asset listing that I need and I can't get it back.



Any ideas on why this would be happening?



No errors about this in the logs. Tested it on another 4.4.1 system and could not replicate.



The content is definetly posted, but somehow must not be saved.



From Firebug:

    sq_lock_release_manual	0
    sq_lock_type	content
    bodycopy_action	
    bodycopy_name	
    bodycopy_data	
    paint_layout_bodycopy_869...	div
    bodycopy_saved[paint_layo...	
    paint_layout_bodycopy_869...	div
    paint_layout_bodycopy_869...	80087
    paint_layout_bodycopy_869...	//
    paint_layout_bodycopy_869...	143795
    sq_asset_finder_paint_lay...	Code Test [80087]
    sq_asset_finder_paint_lay...	80087
    bodycopy_saved[paint_layo...	
    paint_layout_bodycopy_869...	div
    paint_layout_bodycopy_869...	%asset_contents%
    paint_layout_bodycopy_869...	div
    sq_lock_release	0


UPDATE:

I was able to kind of fix one of the paint layouts by adding a nested_asset NOTICE link to the asset I need. But this is a workaround and not how Matrix should behave.

Anyone?

Hey nic I have only ever seen non saving when there has been a number of links to an asset exhausted. But that has nothing to do with nested asset. But we got a error.
I'm sorry I can't be any help.



Could you try clearing the matrix cache on the asset and try again?

SOLVED


It was an issue with Suhosin. The suhosin.request.max_varname_length was set to the default of 64 which ignored any var names longer than that, which some of the paint layout post vars are. So I bumped it to 200 and it worked!



Thanks to Squiz Support for the tip!