Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Errormessage after saving an entry of a ComplexTableField


Go to End


2 Posts   1239 Views

Avatar
baba-papa

Community Member, 279 Posts

29 November 2009 at 9:02am

After saving an entry of a ComplexTableField the popup window shows an error message:
[Warning] sprintf() [function.sprintf]: Too few arguments
POST /studiosuche/admin/EditForm/field/[myObjectName]/item/5/DetailForm
Line 812 in [myURL]/sapphire/forms/ComplexTableField.php

The changes actually get saved. I defined the fields of the popup with a custom function that returns a FieldSet.

Any help or hint would be appreciated.

Avatar
baba-papa

Community Member, 279 Posts

1 December 2009 at 12:53am

I figured it out. I gave the ComplexTableField as the second parameter a name with a german "Umlaut". Obviously this led to the error message.