← Back to team overview

slub.team team mailing list archive

[Bug 973316] [NEW] useless symlink if directory exists on creation

 

Public bug reported:

Directory creation script is called every time a process is opened. Bug
gets triggered when opening old, existing processes.

When creating a directory with the partitioning script
(createMetaDirSymlink) that already exists, a new partition and
directory gets created and a symlink is placed in the existing
directory. That's considered invalid behaviour.

Fix: Just don't create partition and symlink if the target directory
already exists.

** Affects: goobi-contrib
     Importance: Medium
         Status: Confirmed

-- 
You received this bug notification because you are a member of Saxon
State Library Team, which is the registrant for Goobi.Contrib.
https://bugs.launchpad.net/bugs/973316

Title:
  useless symlink if directory exists on creation

Status in Goobi.Contrib:
  Confirmed

Bug description:
  Directory creation script is called every time a process is opened.
  Bug gets triggered when opening old, existing processes.

  When creating a directory with the partitioning script
  (createMetaDirSymlink) that already exists, a new partition and
  directory gets created and a symlink is placed in the existing
  directory. That's considered invalid behaviour.

  Fix: Just don't create partition and symlink if the target directory
  already exists.

To manage notifications about this bug go to:
https://bugs.launchpad.net/goobi-contrib/+bug/973316/+subscriptions


Follow ups

References