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
The EML generated and rendered by DEIMS is just fine.
Somehow, when we build the EML inside the PASTA module using the EMLDataSet : getEML method, the distribution element contains a url that is not proper, we would beed to render the drupalbase/root.
I.e: forexeample, the in-EML URL that's about to be sent to PASTA looks like http://default/sites/default/files/DELTA_HYDRO.csv
While instead of "default", we should see the drupal-base for the site...
The text was updated successfully, but these errors were encountered:
OK - it is just complicated. In normal circunstances, the EML builds fine with the BASE URL strings. But when EMl is built by the getEML method, all URLs seem to loose the base url.
Immediately after, when you render the "dataset" using the theme engine (DEIMS theme), the URLs to the data-file and EML are also missing the drupal-base/root. After running cron once or twice, the BASE urls are restored properly. I am not sure how to go about this.
One not too elegant workaround is to replace the default with URL base before passing the file to PASTA. Id love to know why on earth does not inherit the baseurl at the time.
The EML generated and rendered by DEIMS is just fine.
Somehow, when we build the EML inside the PASTA module using the EMLDataSet : getEML method, the distribution element contains a url that is not proper, we would beed to render the drupalbase/root.
I.e: forexeample, the in-EML URL that's about to be sent to PASTA looks like http://default/sites/default/files/DELTA_HYDRO.csv
While instead of "default", we should see the drupal-base for the site...
The text was updated successfully, but these errors were encountered: