You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a site has distributions with an accessUrl and no downloadUrl the undefined key error below appears. This is from metastore module's theme.inc file were some variables for themeing and a table are created.
Warning: Undefined array key "downloadURL" in metastore_preprocess_node__data() (line 101 of /var/www/html/docroot/modules/contrib/dkan/modules/metastore/metastore.theme.inc)
Steps To Reproduce
Build a new DKAN site with a schema that doesn't require downloadUrl key in the distribution objects.
Import data and check for the errors after a page render.
Expected behavior
This shouldn't cause an error if the key doesn't exist.
The text was updated successfully, but these errors were encountered:
Describe the bug
If a site has distributions with an accessUrl and no downloadUrl the undefined key error below appears. This is from metastore module's theme.inc file were some variables for themeing and a table are created.
Warning: Undefined array key "downloadURL" in metastore_preprocess_node__data() (line 101 of /var/www/html/docroot/modules/contrib/dkan/modules/metastore/metastore.theme.inc)
Steps To Reproduce
Build a new DKAN site with a schema that doesn't require downloadUrl key in the distribution objects.
Import data and check for the errors after a page render.
Expected behavior
This shouldn't cause an error if the key doesn't exist.
The text was updated successfully, but these errors were encountered: