Drupal from 10.6.17 to 11.4.7

This commit is contained in:
2026-09-26 01:10:59 +02:00
parent 89d68ac548
commit 62c814d57d
83 changed files with 4122 additions and 1745 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -62,6 +62,12 @@ export default {
MA.get(`/materio_sapi/search_form?`+q)
.then(({data}) => {
// console.log('getSearchForm')
// guard against unexpected response body (truncated / non json)
// which would crash Vue.compile(undefined) in SearchForm
if (typeof data.rendered !== 'string') {
console.warn('SearchBlock getSearchForm unexpected data', data)
return
}
this.form = data.rendered
})
.catch((error) => {
@@ -44,7 +44,14 @@ export default {
MA.get('materio_decoupled/ajax/getheadermenu')
.then(({data}) => {
// console.log('HeaderMenu getMenuBlockHtml data', data)
this.html = data.rendered // record the html src into data
// record the html src into data
// guard against unexpected response body (truncated / non json)
// which would crash Vue.compile(undefined)
if (typeof data.rendered !== 'string') {
console.warn('HeaderMenu getMenuBlockHtml unexpected data', data)
return
}
this.html = data.rendered
})
.catch((error) => {
console.warn('Issue with getMenuBlockHtml', error)