Modules dont seem to be working in new updated multipage app

I have a module with some basic SQL query functions.

When I add the module to a new app in the global header or global sidebar, the actions on the module do not work. the buttons do not call the Queries etc...

only recently happening with new apps. doesn't seem to be affecting existing multipage apps. as the module works fine in those in the global header.

this is ONLY in edit mode. working fine in live / preview. anyone else facing similar issue?

Hello @Loni ,

I encountered the same issue, but I have a solution that might help. You can create or drag and drop your SQL query into the Global section instead of the Default page.

Let me know if this works for you or if you need further assistance!

Thanks.

4 Likes

Thanks for flagging this issue - I will report this bug to our team for a fix!

Hi @Loni,

I have only been able to reproduce this bug when a module button triggers a query, such as query1, and the app also has a page query with the same name, (in this example, also named query1). There shouldn't be name conflicts here, so I'm still ensuring our team is aware of this bug. So far, moving the module out of a global header/sidebar into the main app resolves it, as does renaming the query in either the app or the module. Another temporary fix could be moving the page query with the same name to global queries, as WidleStudioLLP mentions.

If you have no queries with duplicate names across the app & module, there's likely another edge case of this bug. If that is the case, could you share an export of your app?