Rapido: extra view does not work after renaming it in .yaml file (was - extra view only works if the id matches the block name)

Following this guide http://rapidoplone.readthedocs.io/en/latest/reference/display.html?highlight=view#extra-views

I created a rapido app with the following layout:

rapido/app/blocks/frontlinks.pt
rapdo/app/blocks/frontlinks.py
rapido/app/blocks/frontlinks.yaml

Defining the view In the frontlinks.yaml file ONLY works if the view id is the same as the block name:

Example that works
So this works and I'm able to visit @@frontlinks

elements:
    links: 
        type: BASIC
view:
    id: frontlinks
    with_theme: true

Example that does not work
This does not work, visiting @@my-links results in an error

elements:
    links: 
        type: BASIC
view:
    id: my-links
    with_theme: true

Hi David,

That's a bug.
Fill in a github issue (or a pull request :slight_smile: )

Hey Eric,
I'd need some hand holding to get to the pull request level on this (with all the dynamic browser view mapping magic going on). But I can do a bug report.

Bug reported: https://github.com/collective/rapido.plone/issues/34

@ebrehault I've updated the issue, it turns out that the problem is more subtle.

Changing the view id after visiting an originally defined view id will have no effect.