Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28554

Error 400 after filling Text field in URL field type

    XMLWordPrintable

Details

    Description

      1. Create content type with URL field type, not required
      2. Go to creating content item with content type from previous step
      3. Fill only text field, I've put "text"
      4. Click publish - there is an error:


      Argument '%argumentName%' is invalid: expected value to be of type 'string'

      Technical information:

      The interface displays a 500, but actually it's a 400 (Bad request).

      ezrepoforms_content_edit[fieldsData][new_ezstring_1][value]:EZP-28554
      ezrepoforms_content_edit[fieldsData][new_ezauthor_2][value][authors][0][id]:1
      ezrepoforms_content_edit[fieldsData][new_ezauthor_2][value][authors][0][name]:
      ezrepoforms_content_edit[fieldsData][new_ezauthor_2][value][authors][0][email]:
      ezrepoforms_content_edit[fieldsData][new_ezcountry_4][value]:
      ezrepoforms_content_edit[fieldsData][new_ezemail_5][value]:
      ezrepoforms_content_edit[fieldsData][new_ezkeyword_6][value]:
      ezrepoforms_content_edit[fieldsData][new_ezurl_7][value][link]:
      ezrepoforms_content_edit[fieldsData][new_ezurl_7][value][text]:text
      ezrepoforms_content_edit[publish]:
      ezrepoforms_content_edit[redirectUrlAfterPublish]:
      ezrepoforms_content_edit[_token]:RJm1IFyAuFZR7vIUxZdKf68SK2Kxr4YkvoqumrmICxc
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: