I set up the example_block module to build a configurable block for a project. I want to be able to use this block in a panel page.
I can add the block without problems but when I try to 'configure' the block, the link that the Panels module creates is incorrect. I am getting that link through right clicking from the IPE to 'edit block'.
To configure a block, in the case of the example_block module you would need to go to:
http://example.com/admin/structure/block/manage/block_example/example_co...
Yet the IPE creates a link like this:
http://example.com/admin/structure/block/manage/block_example/nfigurable...
As you can see for some reason the URL is messed up and it is stripping off 'example_co' ...
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | block_configuration_link_is_wrong-2942953-8.patch | 622 bytes | Ievgen Antonovych |
| #2 | block_configuration_link_is_wrong-2942953-2.patch | 619 bytes | Ievgen Antonovych |
| #2 | panels_link_issue.jpg | 321.78 KB | Ievgen Antonovych |
| Screen Shot 2018-02-07 at 12.35.14 PM.png | 49.97 KB | vvv8 |
Comments
Comment #2
Ievgen Antonovych commentedThe issue found in screenshot
.
I've done fix for this issue.
Comment #3
Ievgen Antonovych commentedComment #4
Ievgen Antonovych commentedComment #5
ivan berezhnov commentedI reviewed and for me all ok.
That really fix the bug in Panels.
Thanks @antevgen
Comment #6
ivan berezhnov commentedComment #7
anpolimus@Ievgen Antonovych I thin we have to add limiter to the preg_replace.
This is more safe solution in case if we will have another
$subtype_prefix_hyphenin the nameComment #8
Ievgen Antonovych commentedThank you, @anpolimus.
I've already updated
Comment #9
anpolimusLooks good for me.
Comment #10
codesquatch commentedDo we know when this patch will be implemented?
Comment #11
matthiasm11 commentedRTBC +1
Comment #12
joseph.olstadtriggered more tests, looks good
Comment #13
joelpittetThanks @Ievgen Antonovych I've reviewed and committed this to the dev branch for the next release.