- View https://www.wikifunctions.org/wiki/Z10123?action=edit&uselang=en
- You will see there are no argument shown, and this makes the function call invalid
Description
Event Timeline
A test case that is invalid: https://www.wikifunctions.org/wiki/Z10161?action=edit&uselang=en
There are no argument shown because there are no arguments specified (https://www.wikifunctions.org/wiki/Z10123?action=raw shows that the entire function call is just { "Z1K1": "Z7", "Z7K1": "Z10000" } with no arguments).
Do you mean:
- This invalid state should be explained in view/edit mode with a warning banner?
- The arguments should be shown as empty?
- The invalid state should not be allowed to be persisted?
- Something else?
This is what I got in https://www.wikifunctions.org/wiki/Z10161?action=edit&uselang=en:
Note there're no "second string" field.
Yes, again, you've forced into the DB an invalid object and it doesn't work. :-) Could you answer my question? What did you expect to happen? Why did you make this attempt?
What is expected is we should show the field for "second string" parameter, since it is required per function definition, so that such invalid object can be fixed. Currently such object is not fixable in UI.