Uploaded image for project: 'JSword'
  1. JSword
  2. JS-282

sbmd of newly installed module is incomplete preventing module deletion

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: o.c.jsword.book.sword
    • Labels:
      None

      Description

      For newly installed modules SwordBookDriver.isDeletable returns false.
      The reason for this is that sbmd.getConfigFile() is null for newly installed modules.

      This is because AbstractSwordInstaller.loadCachedIndex() uses
      new SwordBookMetaData(buffer, internal);

      which uses:
      cet.load(byte[]) // does not set configFile

      instead of
      cet.load(File) // sets configFile

      I am not sure of the best solution to this. I can attempt a change if somebody suggests an appropriate fix.

        Attachments

          Activity

            People

            • Assignee:
              dmsmith DM Smith
              Reporter:
              mjdenham Martin Denham
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: