Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2695

Activation fails for nodes with long names when name is longer then max filename length of underlying file system

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1, 3.6.6, 4.0.2
    • 4.0.1, 3.6.5
    • activation
    • None
    • OpenJDK 1.6.0 on CentOS 5.3 64bit with ext3 filesystem, Magnolia OnAir 4.0.1

      We've got a case where we automatically generate node names that can become longer than about 220 characters. This seems to be no problem in the author instance, but the activation of such a node fails with the exception shown in attached stacktrace.

      One can reproduce the issue in the JCR browser of the author instance by creating e.g. a datafolder with a name that is at least 221 characters long. A subsequent activation will fail.

      The problem seems to be that some temporary file names that get created in BaseSyndicatorImpl contain the node name, but there is no check which ensures that the complete filename is shorter than the maximum of 255 characters supported by most filesystems.

        Acceptance criteria

              had Jan Haderka
              mstock Manfred Stock
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD