Documentation Module

4.0
Documentation Module
0
Tags: #<Tag:0x00007f13d8334fa8>

#21

L’import est KO mais je n’ai pas accès aux log (error 500)
Pourtant j’ai mes objets… et la documentation est générée


(David AZOULAY) #22

Les logs sont remontées dans la console du navigateur (F12 + onglet “Console” sur Chrome/PC), sinon la log d’import est aussi sous forme de fichier dans la supervision des imports (menu “Operation”)

Le fait d’avoir des erreurs à l’import de module ne signifie pas que le module ne s’est pas quand même partiellement importé.

Il faut impérativement investiguer toutes les erreurs d’import de vos modules car, forcément, elles cachent des pbs de packaging (paramétrages dans de mauvais modules, pb de dépendance entre paramétrages de différents modules, etc.) qui vous poseront pb lorsque vous voudrez livrer votre application sur une autre instance.


#23

je n’ai pas accès au fichier dans le menu Opération, c’est là que j’ai l’error 500
il ne trouve pas le langaguage ENU pour tous mes field j’ai l’impression puis :
voila les log sur Chrome:

Logs engine.js:411 ERROR|system|com.simplicite.util.engine.ObjectLoader|loadFromDB|Event: Object CRMFieldList not found in repository (anonymous) @ engine.js:411 engine.js:411 ERROR|system|com.simplicite.util.engine.ObjectLoader|loadFromDB|Event: Object CRMFieldListValue not found in repository (anonymous) @ engine.js:411 engine.js:411 ERROR|system|com.simplicite.util.engine.ObjectLoader|loadFromDB|Event: Object CRMGroup not found in repository (anonymous) @ engine.js:411 engine.js:411 ERROR|system|com.simplicite.util.engine.ObjectLoader|loadFromDB|Event: Object CRMResponsabilite not found in repository (anonymous) @ engine.js:411 engine.js:411 ERROR|system|com.simplicite.util.engine.ObjectLoader|loadFromDB|Event: Object CRMUsers not found in repository (anonymous) @ engine.js:411 engine.js:411 ERROR|system|com.simplicite.util.engine.ObjectLoader|loadFromDB|Event: Object CRMFieldListCode not found in repository (anonymous) @ engine.js:411 engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importData|I/O info: End loading data, origin: Import module: importmodule-CRMModule-2513866341830843943.zip engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Module, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Theme, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object View, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Model, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object User, status = OK 2engine.js:411 WARN|system|com.simplicite.util.engine.ObjectManager|findIdRefWhere|Event: Unable to find reference: usp_param_id of object UserSysParam (anonymous) @ engine.js:411 engine.js:411 ECOREIO001|designer|com.simplicite.util.engine.Interface|importXML|I/O error: Import object UserSysParam, status = KO result = 2018-08-21 17:32:41,751 INFO [] Start import object UserSysParam: 2018-08-21 17:32:41,751 INFO [] Found field usp_user_id.usr_login = [jdupond] 2018-08-21 17:32:41,751 INFO [] Found field usp_param_id.sys_code = [HISTORY] 2018-08-21 17:32:41,751 INFO [] Found field usp_value = [[]] 2018-08-21 17:32:41,751 INFO [] Found field usp_param_id.sys_type = [APP] 2018-08-21 17:32:41,751 INFO [] Found field usp_param_id.sys_value = [empty] 2018-08-21 17:32:41,751 INFO [] Found field usp_param_id.sys_desc = [User navigation history] 2018-08-21 17:32:41,751 INFO [] Found field row_module_id.mdl_name = [CRMModule] 2018-08-21 17:32:41,751 INFO [] Found field usp_user_id = [] 2018-08-21 17:32:41,751 INFO [] Found field usp_param_id = [] 2018-08-21 17:32:41,755 INFO [] New record key row_id 2018-08-21 17:32:41,755 INFO [] Action: INSERT 2018-08-21 17:32:41,766 INFO [] Save ok. 2018-08-21 17:32:41,766 INFO [] Start import object UserSysParam: 2018-08-21 17:32:41,766 INFO [] Found field usp_user_id.usr_login = [jdupond] 2018-08-21 17:32:41,766 INFO [] Found field usp_param_id.sys_code = [HISTORY Home] 2018-08-21 17:32:41,766 INFO [] Found field usp_value = [[{"object":"CRMNotes","rowId":"2","label":"Notes : 2"}, {"object":"CRMFieldListValue","rowId":"24829","label":"Value : NOTTHEME GHI English"}, {"object":"CRMFieldListCode","rowId":"18817","label":"Code List : NOTTHEME GHI"}, {"object":"CRMFieldList","rowId":"16624","label":"List : NOTTHEME"}, {"object":"CRMFieldListValue","rowId":"24828","label":"Value : NOTTHEME DEF French"}, {"object":"CRMFieldListValue","rowId":"24827","label":"Value : NOTTHEME DEF English"}, {"object":"CRMFieldListCode","rowId":"18816","label":"Code List : NOTTHEME DEF"}, {"object":"CRMFieldListValue","rowId":"24826","label":"Value : NOTTHEME ABC French"}, {"object":"CRMFieldListValue","rowId":"24825","label":"Value : NOTTHEME ABC English"}, {"object":"CRMFieldListCode","rowId":"18815","label":"Code List : NOTTHEME ABC"}, {"object":"CRMFieldListCode","rowId":"18795","label":"CRMfield list code : CONCIVILITE MR"}, {"object":"CRMFieldList","rowId":"16620","label":"CRMliste : CONCIVILITE"}, {"object":"CRMFieldListCode","rowId":"18796","label":"CRMfield list code : CONCIVILITE MS"}, {"object":"CRMTache","rowId":"2","label":"Tasks : Nom tache opprotuni-te"}, {"object":"CRMGroup","rowId":"55","label":"CRM Groups : CRM_GOILARD"}, {"object":"CRMAdresse","rowId":"1","label":"Addresses : M. Dupond 32 75009 Paris"}, {"object":"CRMCoordonnees","rowId":"1","label":"contact information : Standard Phone number +33656598547"}, {"object":"CRMContact","rowId":"1","label":"Contacts : Guérin Maxime Entreprise Maret"}, {"object":"CRMOpportunite","rowId":"1","label":"Opportunity : Test"}, {"object":"CRMOrganisation","rowId":"1","label":"Organization : Entreprise1"}]] 2018-08-21 17:32:41,766 INFO [] Found field usp_param_id.sys_type = [] 2018-08-21 17:32:41,766 INFO [] Found field usp_param_id.sys_value = [empty] 2018-08-21 17:32:41,766 INFO [] Found field usp_param_id.sys_desc = [] 2018-08-21 17:32:41,766 INFO [] Found field row_module_id.mdl_name = [CRMModule] 2018-08-21 17:32:41,766 INFO [] Found field usp_user_id = [] 2018-08-21 17:32:41,766 INFO [] Found field usp_param_id = [] 2018-08-21 17:32:41,769 INFO [] New record key row_id 2018-08-21 17:32:41,769 INFO [] Action: INSERT 2018-08-21 17:32:41,780 INFO [] Save ok. 2018-08-21 17:32:41,780 INFO [] Start import object UserSysParam: 2018-08-21 17:32:41,780 INFO [] Found field usp_user_id.usr_login = [jdupond] 2018-08-21 17:32:41,780 INFO [] Found field usp_param_id.sys_code = [HISTORY HomeCrm] 2018-08-21 17:32:41,780 INFO [] Found field usp_value = [[{"object":"CRMTache","rowId":"9","label":"Tasks : rendez-vous commercial"}, {"object":"CRMTache","rowId":"10","label":"Tasks : Email Invitation"}, {"object":"CRMOpportunite","rowId":"3","label":"Opportunity : Opportunite de test"}, {"object":"CRMGroup","rowId":"52","label":"CRM Groups : CRM_ADMIN"}, {"object":"CRMUsers","rowId":"4","label":"CRM Users : jdupond"}, {"object":"CRMImport","rowId":"6","label":"Import : contact"}, {"object":"CRMOrganisation","rowId":"9","label":"Organization : Entreprise lambda"}, {"object":"CRMNotes","rowId":"18","label":"Notes : 18"}, {"object":"CRMOpportunite","rowId":"1","label":"Opportunity : opp"}, {"object":"CRMFieldList","rowId":"16613","label":"List : COOTYPE"}, {"object":"CRMFieldList","rowId":"16612","label":"List : CONCIVILITE"}, {"object":"CRMTache","rowId":"4","label":"Tasks : Rendez-vous n1"}, {"object":"CRMContact","rowId":"1","label":"Contacts : Hardy Sebastion Entreprise1 shardy@mail.com"}, {"object":"CRMImport","rowId":"1","label":"Import : nom1"}, {"object":"CRMTache","rowId":"1","label":"Tasks : task entreprise 1"}, {"object":"CRMNotes","rowId":"19","label":"Notes : 19 (anonymous) @ engine.js:411 engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Group, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Responsability, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ShortCut, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ShortCutGroup, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ListOfValue, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object FieldList, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object FieldListCode, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object FieldListValue, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Field, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object FieldStyle, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Template, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ObjectFieldArea, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Domain, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ObjectExternal, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ObjectInternal, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ObjectFieldSystem, status = OK engine.js:411 SESSION|system|Logon|login (direct)|Session utilisateur=system/job_ObjectFullGC time=0 engine.js:411 INFO|system|com.simplicite.util.engine.CronManager|run|Event: Next cron job: ImportXML at Tue Aug 21 17:35:00 CEST 2018 engine.js:411 INFO|system|com.simplicite.util.engine.CronManager|run|Event: Next cron job: ObjectDynGC at Tue Aug 21 17:35:00 CEST 2018 engine.js:411 INFO|system|com.simplicite.util.engine.CronManager|run|Event: Cron manager is sleeping for 0:01:59... engine.js:411 ICORECM004|system|com.simplicite.util.CronJob|run|Execute job ObjectFullGC at 2018-08-21 17:33:00 engine.js:411 MEMGC|system|com.simplicite.util.tools.SystemTool|objectGC|Dyn=0 Full=0 engine.js:411 ICORECM005|system|com.simplicite.util.CronJob|run|Result of job ObjectFullGC : ObjectFullGC removed 0 object(s) from cache.#INFO engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Link, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object LinkMap, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Action, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Function, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Grant, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ConstraintObject, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ConstraintGroup, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ConstraintImpact, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object DocIndex, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object DocIndexField, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object PrintTemplate, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object PrintTemplateGroup, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMProcess, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMActivity, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMTransition, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMData, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMAlert, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMAlertContent, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMRecipient, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMGrantActivity, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMGrantProcess, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMState, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMStateTransition, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object BPMStateTranGroup, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object CronTable, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Crosstab, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object CrosstabAxis, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Research, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Map, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ViewItem, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ViewGroup, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object Script, status = OK 7engine.js:411 WARN|system|com.simplicite.util.engine.ObjectManager|findIdRefWhere|Event: Unable to find reference: row_module_id of object ObjectInternal (anonymous) @ engine.js:411 engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object ScriptUsage, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateAction, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateCrosstab, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateField, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateFieldArea, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateDomain, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateObject, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateExternal, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateShortcut, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateObjectField, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateLink, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateResearch, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateView, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateDocIndex, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateActivity, status = OK engine.js:411 ICOREIO001|designer|com.simplicite.util.engine.Interface|importObject|I/O info: Import object TranslateProcess, status = OK engine.js:411 ECOREIO001|designer|com.simplicite.util.engine.Interface|importXML|I/O error: Import object CRMFieldList, status = KO result = 2018-08-21 17:33:19,812 FATAL [] Access denied for user designer to object CRMFieldList

(anonymous) @ engine.js:411
engine.js:411 ECOREIO001|designer|com.simplicite.util.engine.Interface|importXML|I/O error: Import object CRMFieldListValue, status = KO
result = 2018-08-21 17:33:19,813 FATAL [] Access denied for user designer to object CRMFieldListValue

(anonymous) @ engine.js:411
engine.js:411 ECOREIO001|designer|com.simplicite.util.engine.Interface|importXML|I/O error: Import object CRMGroup, status = KO
result = 2018-08-21 17:33:19,813 FATAL [] Access denied for user designer to object CRMGroup

(anonymous) @ engine.js:411
engine.js:411 ECOREIO001|designer|com.simplicite.util.engine.Interface|importXML|I/O error: Import object CRMResponsabilite, status = KO
result = 2018-08-21 17:33:19,813 FATAL [] Access denied for user designer to object CRMResponsabilite

(anonymous) @ engine.js:411
engine.js:411 ECOREIO001|designer|com.simplicite.util.engine.Interface|importXML|I/O error: Import object CRMUsers, status = KO
result = 2018-08-21 17:33:19,814 FATAL [] Access denied for user designer to object CRMUsers

(anonymous) @ engine.js:411
engine.js:411 ECOREIO001|designer|com.simplicite.util.engine.Interface|importXML|I/O error: Import object CRMFieldListCode, status = KO
result = 2018-08-21 17:33:19,814 FATAL [] Access denied for user designer to object CRMFieldListCode

(anonymous) @ engine.js:411
engine.js:411 INFO|designer|com.simplicite.util.engine.Interface|importXML|Event: Import: diff requested…
engine.js:411 ERROR|designer|com.simplicite.util.engine.Interface|importXML|Event: Import contains errors: diff is aborted to preserve the previous configuration. Fix the module and re-import.
(anonymous) @ engine.js:411
engine.js:411 ECOREDB001|system|com.simplicite.util.GrantDirect|updateBlob|Error SQL query: update m_document set dbd_content=? where dbd_path = ‘XMLSupervisor/xsp_log_id/0/1/flow_20180821_173319.log’
(anonymous) @ engine.js:411
engine.js:411 ERROR|designer|com.simplicite.util.engine.Interface|importModule|Event: Module: CRMModule: Error importing module (/home/viergerelease/tomcat/webapps/ROOT/WEB-INF/tmp/importmodule-CRMModule-2513866341830843943.zip)
(anonymous) @ engine.js:411
engine.js:411 SESSION|system|Logon|login (direct)|Session utilisateur=system/job_ImportXML time=0
engine.js:411 SESSION|system|Logon|login (direct)|Session utilisateur=system/job_ObjectDynGC time=0
engine.js:411 ICORECM004|system|com.simplicite.util.CronJob|run|Execute job ImportXML at 2018-08-21 17:35:00
engine.js:411 ICORECM005|system|com.simplicite.util.CronJob|run|Result of job ImportXML : No XML file to import.
engine.js:411 INFO|system|com.simplicite.util.engine.CronManager|run|Event: Next cron job: ImportXML at Tue Aug 21 17:40:00 CEST 2018
engine.js:411 INFO|system|com.simplicite.util.engine.CronManager|run|Event: Cron manager is sleeping for 0:04:59…
engine.js:411 ICORECM004|system|com.simplicite.util.CronJob|run|Execute job ObjectDynGC at 2018-08-21 17:35:00
engine.js:411 MEMGC|system|com.simplicite.util.tools.SystemTool|objectGC|Dyn=0 Full=0
engine.js:411 ICORECM005|system|com.simplicite.util.CronJob|run|Result of job ObjectDynGC : ObjectDynGC cleared 0 object(s) dynamic data.#INFO
engine.js:411 ERROR|designer|com.simplicite.webapp.servlets.ui.BusinessObjectServlet|service|Event: [1]
(anonymous) @ engine.js:411
ui/obj/docpreview/XMLSupervisor?row_id=1&field=xsp_log_id:1 Failed to load resource: the server responded with a status of 500 ()


(David AZOULAY) #24

Je ne comprend pas votre “erreur 500” mettez moi des copies d’écran.

Pour le reste, désolé, je ne peux pas investiguer vos erreurs de paramétrage. Cherchez les traces ERROR en commençant par la première (car souvent une partie des erreurs est liée à une erreur initiale, genre le field n’est pas dans le module, les traduction du field sont logiquement rejetées) et résolvez les problèmes les uns après les autres jusqu’à ce que votre module exporté s’importe sans erreur