[opencms-dev] opencms-core compilation - broken link on opencms.org

Kai Widmann Widmann at mediaworx.com
Wed Jan 7 10:16:53 CET 2015


Hi Christoph, 

Concerning your second question: usually it's no problem to extract the jar (using any zip tool) that contains the class you want to change, make your modifications to the source, compile the class, replace the compiled class in the extracted jar and repackage the jar. That way you don't have to do a full build. And I know that building older versions of OpenCms was not the easiest thing to do, I've struggled with this for a while myself.

Now back to the first question:
I've followed this thread a little and from what I understand the double byte characters in UTF-8 are causing the problem because a faulty content length is given. Maybe there is a way to switch to a single byte character set like ISO-8859-1 (this should be configurable somewhere in OpenCms)? That way the export might succeed, but with broken characters for German "Umlauts" and the likes. You could fix those by hand in an editor using search/replace. Just an idea, I haven't really thought this through.

Cheers

Kai


-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Christoph Kukulies
Gesendet: Mittwoch, 7. Januar 2015 10:03
An: The OpenCms mailing list
Betreff: [opencms-dev] opencms-core compilation - broken link on opencms.org

Since it seems to be impossible to get users exported/imported from opencms unless one is using a more recent version of OpenCMS (the site in question is using 7.0.5), I decided to build a patched version of the opencms-core from github.

On the website there is a broken link - don't  the inventors of OpenCms use the "link validation tool" on their own site? - namely the one that points to the kernel compilation hints: 
http://www.opencms.org/de/development/coreOld.html

In the vein of my considerations in getting a clean error free export of my users maybe someone could try to give an answer to the following
questions:

1. Would it be possible to circumvent the bug in the user CSV export by
      a) a different means of exporting?
      b) using a different browser (rather than Firefox) which isn't prone to the bug

2. To repair the defective class, would it be possible to exchange it manually  Stephan Schrader wrote on
     June 19th, 2014 at  09:59, by compiling it on the command line and what would be the remedy to achieve this?

It is taking me busy now for a couple of days to simply get my user base out of an older OpenCms site. Please help.


-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list