I was getting the __clone method called on non-object error while populating data in the fieldset and there was no targetElement available (it was null).
I think such a fix should not create regressions in the software since when targetElement is null it errors anyway.
I'll provide the changelog entry and regression text in later commits (since it seems like I need an issue number for the fix which I'm going to get after submitting this pull request).
I was getting the
__clone method called on non-object
error while populating data in the fieldset and there was no targetElement available (it was null).I think such a fix should not create regressions in the software since when targetElement is null it errors anyway.
I'll provide the changelog entry and regression text in later commits (since it seems like I need an issue number for the fix which I'm going to get after submitting this pull request).