code/pagetypes/MetadataPostcardEntryPage.php
/**
     * Ensure that the catalogue URL parts have any whitespace around them stripped to avoid
     * weird and unhelpful error that comes back from catalogue if there is a space in it.
     */
Ensure that the catalogue URL parts have any whitespace around them stripped to avoid
weird and unhelpful error that comes back from catalogue if there is a space in it.
Ensure that the catalogue URL parts have any whitespace around them stripped to avoid weird and unhelpful error that comes back from catalogue if there is a space in it .
protected function onBeforeWrite()
    {
        parent::onBeforeWrite();
        $this->CataloguePushUrl = trim($this->CataloguePushUrl);
        $this->CatalogueViewUrl = trim($this->CatalogueViewUrl);
    }
protected function onBeforeWrite ( ) { parent :: onBeforeWrite ( ) ; $ this -> CataloguePushUrl = trim ( $ this -> CataloguePushUrl ) ; $ this -> CatalogueViewUrl = trim ( $ this -> CatalogueViewUrl ) ; }
Ensure that the catalogue URL parts have any whitespace around them stripped to avoid
 weird and unhelpful error that comes back from catalogue if there is a space in it.
Ensure that the catalogue URL parts have any whitespace around them stripped to avoid weird and unhelpful error that comes back from catalogue if there is a space in it .