When using the "Create Widget Wizard" (admin/build/embed-widgets/widgets/add), I am able to successfully complete the Setup screen. On the second "Content" screen, in the "add content" section, none of my sources are visible and I am instructed to "create a source." When I try to create a source, either via this link in the wizard or the normal "Create source" link, it works just fine, but my new sources are still not visible in the create widget process. I have created multiple sources successfully, all of type View, but none are ever visible in the "add content to widget" phase. Thoughts or suggestions? Thanks!

Comments

hihappycats’s picture

Priority: Normal » Critical
zyxware’s picture

Version: 6.x-1.x-dev » 6.x-1.0-rc1
StatusFileSize
new686 bytes

It seems views_access called to check permissions to views displays requires a different set of parameters. We have created a patch to fix this issue. Can you please check this out.

Bimble’s picture

I have the same problem, same version. When adding a new "views" source, it seems to work okay, submits without error - but the source does not appear in the 'source list' and a widget cannot be created.

It appears that the submit process is not actually working, because the table embed_widgets_sources is empty.

I also don't see how the patch above will fix anything, it's just replacing one comment with another :/

zyxware’s picture

StatusFileSize
new995 bytes

Sorry for the wrong patch here is the new one.

joberg’s picture

Thanks zyxware this worked great!

nally’s picture

Status: Active » Needs review

I applied this patch, and it did improve the situation in that now a single source for the widget does appear. Unfortunately for me that source isn't the one I was hoping to see. (so I'd call this situation an improvement for sure, just not what i was hoping for).

This may mean that this patch is required, and that I'd need to start from scratch to keep the internal tables coherent, etc.