Ticket #832 (closed Defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Default file repo base path should be "/", not ""

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.7
Component: DeepaMehta Standard Distribution Version: 4.6.1
Keywords: Cc: dgf, Malte, JuergeN
Complexity: 3 Area:
Module: deepamehta-files

Description

To use the entire file system as the DM file repo (the default configuration) the value for the dm4.filerepo.path config property should be / instead of empty. This is what users would expect.

Change History

comment:1 Changed 5 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 5 years ago by Jörg Richter <jri@…>

In 0ae9d6ab36b499ef62c07ddad4a1e67a68be1c07/deepamehta:

Change dm4.filerepo.path default value (#832).

The default value for the dm4.filerepo.path config property is / instead of empty.
Empty is no longer a valid value for that config property.
/ regards the entire file system as the DM file repo (as formerly specified by empty).

See #832.

comment:3 Changed 5 years ago by Jörg Richter <jri@…>

In 66d0dd763d16c4375f117dcb59039a137aaaed3a/deepamehta:

Files: fix directory listing serialization (#832).

Files module REST API:

GET /files/{path}

The returned file items include size and media type information.
By mistake these were not included in older DM versions.

BREAKING CHANGE

de.deepamehta.core.util.DeepaMehtaUtils API:

1 method renamed:

objectsToJSON() -> toJSONArray()

1 method dropped:

stringsToJson()

Use new JSONArray(...) instead.

See #832.

comment:4 Changed 5 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.