I have enabled crop 8.x-1.2 module. In README.me it is written that, to create a crop type, we have to go to admin/structure/crop . But admin/structure/crop doesn't exist.

/admin/config/media/crop as shown buttons to create crop type, On click it will redirect us to /admin/config/media/crop/add crop type creation form.

In the crop type creation form we can see broken htmls as like this. /admin/config/media/crop/add" method="post" id="crop-type-add-form" accept-charset="UTF-8"> and JnPKiQwbZSfBL-0TYAvKdL_dW9_yRRpwdq1qi2AXdII" />.

I filled the form and submitted, crop types is not created and redirected to page not found with the url /admin/config/media/crop/%3C!--RENDERER_START--%3E%3C!--%7B?label=test&id=test&description=&aspect_ratio=&soft_limit_width=&soft_limit_height=&hard_limit_width=&hard_limit_height=&form_build_id=form-jy-2FYt-57lMJ5rNLS0PLvTZfSOzXD4E08fUC13dTB0&form_token=%3C%21--RENDERER_START--%3E%3C%21--%7B&form_id=crop_type_add_form&op=Save+crop+type

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

suresh kumara created an issue. See original summary.

woprrr’s picture

Hi @suresh kumara,

Yes you right for Readme.md file is outdated the right path are ==> /admin/config/media/crop

admin/config/media/crop/%3C!--RENDERER_START--%3E%3C!--%7B?label=test&id=test&description=&aspect_ratio=&soft_limit_width=&soft_limit_height=&hard_limit_width=&hard_limit_height=&form_build_id=form-jy-2FYt-57lMJ5rNLS0PLvTZfSOzXD4E08fUC13dTB0&form_token=%3C%21--RENDERER_START--%3E%3C%21--%7B&form_id=crop_type_add_form&op=Save+crop+type

That is due to debug mode I think but I can't reproduce your bug :O

There is my HTML output

Can you take me a reproduction path and your services.yml options ?

I have tested it with 8.4 too and all seem works.

woprrr’s picture

Status: Active » Postponed (maintainer needs more info)
woprrr’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I've tested all usecases again with 8.4 stable and nothing like describe appear.