[opencms-dev] Create a module

Borja Riesgo Juan briesgo at sgi.es
Tue Jul 19 19:32:16 CEST 2005


Hello
	We need to create a new module under opencms 6 alpha 2(because this one is
required in the production system). We followed the steps to create the new
module, that is:
		*Login as Admin user.
		*Go to Administration view.
		*Select Module Management.
		*Create new Module.
	We introduced the following parameters:
		*Module Name.
		*Package name.
		*Check Administration Point, Simple Module Type, Export classes/folder,
Export lib/folder.

	And we?ve got the following error:
		In each field appeared ? UNKNOWN DATABLOCK [name of the field].
	And in the log field we?ve got:
		9 Jul 2005 19:08:59,901 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "packetname" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,902 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,905 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "version" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,906 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,909 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "modulename" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,910 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,913 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "description" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,913 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "moduletype" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,917 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,920 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "adminpoint" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,921 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,923 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "view" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,924 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,927 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "exportclasses" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,928 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,931 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "exportlib" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,932 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,934 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,937 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "maintenance" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,938 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,944 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "publishclass" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,945 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,948 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "author" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,949 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,952 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "email" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.
19 Jul 2005 19:08:59,953 DEBUG [encms.template.A_CmsXmlContent:1310] Reused
previously parsed XML file labelTemplate
19 Jul 2005 19:08:59,955 ERROR [encms.template.A_CmsXmlContent: 924]
Requested datablock  "date" not found in
/system/workplace/administration/module/module_create -  RequestUri is
/system/workplace/administration/module//system/workplace/administration/mod
ule/module_create.html.


	Also we have detected problems when we export a module. The classes that
appeared in the imported module are not equal as the classes that we?ve got
in the exported one.

	What can be wrong? any idea?

	Thanks in advance,



	Borja



______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.
______________________



More information about the opencms-dev mailing list