Trying to upgrade Otobo v10.0.9 to v10.0.10 but having problems with 2 things :
just after the upgrade i was able to log-in on the Agent interface (index.pl) but the Menus (Dashboard, Customers , Calendar …) disappeared and Javascript seems to be broken because of an error about addmethod.
some time after , I’m not able to log-in anymore because of this problem in the Agent AND Customer interface :
Could anyone help with this problem, I have not seen any errors in logs.
Tried to do :
su – otobo -c „cd ${OTOBO_BASE_DIR}/otobo; bin/otobo.Console.pl Maint::Config::Rebuild“
su – otobo -c „cd ${OTOBO_BASE_DIR}/otobo; bin/otobo.Console.pl Maint::Cache::Delete“
Here is the error message associated in Console’s browser :
Uncaught TypeError: Cannot read property ‚addMethod‘ of undefined
at CommonJS_76b081a504e75dfab37badaa2d83a197.js:2127
at CommonJS_76b081a504e75dfab37badaa2d83a197.js:2176
this is most likely related to the update of jquery-validate. Have you installed a package which overwrites the Config-Option ‚Loader::Agent::CommonJS###000-Framework‘? If so it has to be updated to support jquery-validate-1.19.3.
If not, you probably changed said option by hand. You could either execute the following to reset this setting
and then in the system look in the SysConfig-history to see what changed and possibly redo those changes. Or, the hacky way, you open up Kernel/Config/Files/ZZZAAuto.pm search for „validate“, set it to jquery-validate-1.19.3 and then (as this is only temporary!) change this setting in the web interface, too.
Also handy, while playing around are:
su – otobo -c „cd ${OTOBO_BASE_DIR}/otobo; bin/otobo.Console.pl Maint::Loader::CacheCleanup“
And deleting the browser-cache. But this is more general info – for the above steps it is not necessary.
I can confirm you’re totally right, this was the problem located at : Loader::Agent::CommonJS###000-Framework
I have changed the list or JS loaded to add one which allow to fill automatically the Bcc field with a default email address in Agent Answers, and so if I understand well, this parameter as i has been customized is not updated between versions, is there a way for Otobo to inform the user of this change or maybe have a way to do a diff between Default parameters between previous and newer version, so the user can be informed of all changes and apply them by hands then ?
Below is a diff between my config before (ZZZAAuto.pm_20210505) and after (ZZZAAuto.pm) the execution of the command to reset the value of Loader::Agent::CommonJS###000-Framework :
Yes, you are right that those settings won’t be updated if user specific changes were made. Usually we try to not make changes there at all between patches, but sometimes it is necessary (here e.g. this is a security update). Unfortunately to my knowledge there is no real functionality for your suggestion. In general some options like those general Loaders are better left untouched. If you are already fiddling with the source anyways, you could just provide a custom XML in Kernel/Config/Files/XML, where you copy this setting from the Framework.xml and name it e.g. „Loader::Agent::CommonJS###007-MyAdditions“ – everything there, will be loaded, too, after a Config::Rebuild. (And maybe you look for Loader::Module, because probably this is only needed in a few places, but that’s less important.)
But anyways, there are some changes we could do, to improve this situation, e.g. version numbers, imho are not really necessary in the paths of those packages. But this again is not something to change in a patch level update.
We saw that in Personal Preferences / Miscellaneous under Skin we now have only Default available ?
Before we were able to choosed from Ivory / Ivory Slim / Default / Default Slim …
Is it normal please ?
I do not see any informations on this on changelog :
Wir verwenden Cookies, um diese Website optimal gestalten und laufend verbessern zu können. Für Analyse und Statistik nutzen wir Google Analytics (anonymisiert).
Unsere Website verwendet Cookies. Cookies sind kleine Textdateien, die beim Aufruf von Websites im Internetbrowser bzw. vom Internetbrowser auf Ihrem Endgerät gespeichert werden. Diese Cookies enthalten eine charakteristische Zeichenfolge, die eine eindeutige Identifizierung des Browsers beim erneuten Aufrufen der Website ermöglichen.
Sie können das Setzen von Cookies jederzeit über eine entsprechende Einstellung in Ihrem Internetbrowser verhindern. Bereits gesetzte Cookies können jederzeit manuell oder automatisiert gelöscht werden. Dies ist in allen gängigen Internetbrowsern möglich. Wird das Setzen von Cookies im Browser deaktiviert, sind unter Umständen nicht alle Funktionen der Website vollumfänglich nutzbar.
Wir gehen grundsätzlich sehr sparsam mit Cookies um.
Detaillierte Informationen finden Sie in Abschnitt 4 unserer Hinweise zum Datenschutz.
Technisch erforderliche Cookies
Diese Cookies sind erforderlich, um die Darstellung dieser Website und einiger ihrer Features zu gewährleisten.
Deshalb bieten wir hier auch keine Möglichkeit an, diese Cookies zu deaktivieren.
Dessen ungeachtet können Sie jederzeit durch entsprechende Einstellungen in Ihrem Browser alle Cookies deaktivieren. Unter Umständen stehen Ihnen dann nicht mehr alle Funktionalitäten dieser Website zur Verfügung.
Weitere Informationen zu den gesetzten Cookies und zur Speicherdauer finden Sie in Abschnitt 4 unserer Hinweise zum Datenschutz.
Cookies von Google Analytics
Beim Besuch der Website werden Cookies von Google Analytics gesetzt, die eine Analyse der Benutzung unserer Website durch Sie ermöglichen. Ihre IP-Adresse wird dabei durch technische Vorkehrungen pseudonymisiert (IP-Anonymisierung und Deaktivierung der User-ID). Eine Zuordnung der Daten zum aufrufenden Nutzer ist daher nicht mehr möglich. Die Daten werden nicht gemeinsam mit anderen personenbezogenen Daten der Nutzer gespeichert.
Wenn Sie nicht möchten, dass wir Ihren Besuch auf unserer Website verfolgen, können Sie das Tracking in Ihrem Browser hier deaktivieren:
Hinweise zum Datenschutz
Detaillierte Informationen zum Einsatz von Cookies sowie unsere Datenschutzerklärung finden Sie hier: