Hallo
Habe das ERP installiert. Allerdings steht es in einem Konflikt zu einem Plugin.
TypeError: Cannot read property 'indexOf' of undefined
at Object.Manager.createOverride (http://www.sprintprint.de/backend/:181:14)
at Object.define (http://www.sprintprint.de/engine/Shopware/Plugins/Community/Core/SwagLicense/Library/ExtJs/ext-all.js?201703211201:18:53280)
at eval (/backend/Order/load/?f=m/OrderHistory|m/Order|m/Billing|m/Shipping|m/Tax|m/Debit|m/Payment|m/PaymentInstance|m/Voucher|m/Configuration|m/Receipt|m/Position|m/Mail|m/DetailBatch|m/ListBatch|m/Dispatch|v/main/Window|v/detail/Window|v/detail/Overview|v/detail/Communication|v/detail/Position|v/detail/Document|v/detail/Detail|v/detail/Billing|v/detail/Shipping|v/detail/Debit|v/detail/OrderHistory|v/detail/Configuration|v/detail/Dispatch|v/list/Filter|v/list/List|v/list/Navigation|v/list/Position|v/list/Document|v/mail/Window|v/mail/Form|v/batch/Window|v/batch/Form|v/batch/List|v/batch/Progress|store/OrderHistory|store/Order|store/Voucher|store/DocType|store/Configuration|store/Batch|store/Tax|store/DetailBatch|store/ListBatch|c/Main|c/List|c/Filter|c/Detail|c/Batch|c/Mail&no-cache=1493824687+1+1:2055:5)
at http://www.sprintprint.de/engine/Shopware/Plugins/Community/Core/SwagLicense/Library/ExtJs/ext-all.js?201703211201:18:5356
at Object.Ext.globalEval (http://www.sprintprint.de/engine/Shopware/Plugins/Community/Core/SwagLicense/Library/ExtJs/ext-all.js?201703211201:18:5369)
at Object.success (http://www.sprintprint.de/backend/base?file=bootstrap&loggedIn=1493824687:530:5)
at Object.callback (http://www.sprintprint.de/engine/Shopware/Plugins/Community/Core/SwagLicense/Library/ExtJs/ext-all.js?201703211201:18:67496)
at i.onComplete (http://www.sprintprint.de/engine/Shopware/Plugins/Community/Core/SwagLicense/Library/ExtJs/ext-all.js?201703211201:18:422670)
at i.onStateChange (http://www.sprintprint.de/engine/Shopware/Plugins/Community/Core/SwagLicense/Library/ExtJs/ext-all.js?201703211201:18:422314)
at XMLHttpRequest. (http://www.sprintprint.de/engine/Shopware/Plugins/Community/Core/SwagLicense/Library/ExtJs/ext-all.js?201703211201:18:17406)
Es liegt wohl im Backend an dem override von Shopware.apps.Order.view.detail.Position
Allerdings kann ich nichts finden was es verursacht.
Kuze zusammenfassung:
//{block name="backend/order/view/detail/position"}
//{$smarty.block.parent}
Ext.define(Shopware.apps.Order.view.detail.MDPosition, {
override: 'Shopware.apps.Order.view.detail.Position',
getColumns: function() {
var me = this;
md = me.callParent(arguments);
var md_upload = {};
md.splice(8, 0, {
header: 'Druckdaten',
dataIndex:'md_upload',
flex: 3,
listeners: {
click: function(grid, record, item, index, e) {
var column = grid.getSelectionModel().getCurrentPosition().row;
var uploadId = me.record.raw.details[column].id;
me.openMediaManager(uploadId);
}
},
renderer: function(value, metadata, record, rowIndex, colIndex, store, view){
....
return dataRow;
}
});
return md;
}
});
//{/block}