[GeoNetwork-devel] Error in SelfRegister.class in geonetwork 2.6.4

Hi,

I have enabled Self Registration in Geonetwork 2.6.4, but when the user
register through the 'Register' link, the information stored is incorrect,
as the 'City' parameter is missing in SelfRegister.class due to which the
fields are mixed up.

I have checked this error by decompiling SelfRegister.class. I added the
'City' parameter and tried to recompile the code online but the compilation
is not successful.
Please could anyone help me to fix this error as I'm not a Java programmer.

Kind Regards,
Saher

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-in-SelfRegister-class-in-geonetwork-2-6-4-tp5009511.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi,

The source code is here:

https://github.com/geonetwork/core-geonetwork

but I think what you really need to do is edit

user-selfregistration.xsl

which you can find in the deployed web application in the xsl folder. I think this needs to be updated to have all the required fields. If you can fix this please make a ticket and upload the fixed xsl file or a patch.

For reference the source code of SelfRegistration is:

https://github.com/geonetwork/core-geonetwork/blob/2.6.x/web/src/main/java/org/fao/geonet/services/register/SelfRegister.java

Jesse

On Thu, Oct 18, 2012 at 7:39 AM, Saher Murad <sahermurad@anonymised.com> wrote:

Hi,

I have enabled Self Registration in Geonetwork 2.6.4, but when the user
register through the ‘Register’ link, the information stored is incorrect,
as the ‘City’ parameter is missing in SelfRegister.class due to which the
fields are mixed up.

I have checked this error by decompiling SelfRegister.class. I added the
‘City’ parameter and tried to recompile the code online but the compilation
is not successful.
Please could anyone help me to fix this error as I’m not a Java programmer.

Kind Regards,
Saher


View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-in-SelfRegister-class-in-geonetwork-2-6-4-tp5009511.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork