Skip to main content

When a component from a component pack is defined on a popup, the resource files for the component pack are not loading in to the page. This results in the component not working as expected.

Notes

1) If a component from the same pack is included on the main page, the popup behaves as expected because the component pack files are loaded in to the page.

2) Issue will occur with any component pack so simply replace Popup Controller from TFG Component Pack on Account Model -> Create Row Action -> Show popup with a component from another component pack to reproduce using a different pack.

3) When the component isn't found, NO error of any type is made available. At the very least, something should be output to the console indicating a component was attempted to be loaded but couldn't be found.

Steps to reproduce:

1) Download & install TFG Components based on instructions from https://community.skuid.com/t/collapsible-wrapper-custom-component

2) Create page using XML below

3) Preview page

4) Click "Create Row" button

Expected Result

1) The "X" in the upper right corner of popup should not be visible and hitting "escape" key should not close popup.

2) runtime.js from TFG Components should loaded

3) In the case where the component isn't found (because runtime.js wasn't loaded) some type of error should be output

Actual Result

1) "X" is visible and "escape" key closes popup because the component pack was not loaded

2) runtime.js from TFG Component is NOT loaded but no error of any type is emitted

Sample Page XML



















"X" and Escape should be hidden/disabled but they are not because Component Pack files were not loaded






row.created








{{Model.labelPlural}}


Home




















Skuid Team - Any insight on this?


This issue was originally posted nearly 3 months ago but has yet to be acknowledged or commented on by the Skuid team.  Just tested with 9.3.1 and this issue still exists.

Can someone from the Skuid team please acknowledge/confirm/reject/comment on this?

Thank you!


Can someone from the Skuid team please acknowledge/confirm/reject/comment on this?


Skuid Team - Any insight on this?


Looks like we are experiencing the same thing. A very basic “hello world” component isn’t working on runtime. Remi can provide more details if need be.


Hey Pat - A workaround would be to manually load your component packs as static resources or just put any component from the pack on the page page applying a render condition to it that will always evaluate to false.


Barry,

Sorry we’ve been so unresponsive, and thanks for the details. I’ve been able to reproduce the problems that you described.


Pat, 

Is your basic component not loading on the page or is it located in a Skuid popup (or is it in a custom popup)?


Thanks for confirming Amy.  Assuming this is implied when you confirmed the repro but just want to be sure that you’ve filed a bug internally against this issue?  Assuming yes to that, can you mark this as “Acknowledged” please?

Thanks!


Yep, if I (or anyone else on the Skuid team) has confirmed as a bug then we’ve also filed internally about it.


Perfect.  Assumed as much but just wanted to be sure.  Thanks Amy!


Reply