papermerge icon indicating copy to clipboard operation
papermerge copied to clipboard

Meta data inheritance in nested folders - Mixup metadata types

Open cnbhl opened this issue 4 years ago • 1 comments

Description I created a folder and attach a meta data label with type "date". Next I created an additional folder inside the first folder, it inherits the meta data label, but the type is reset to "Freedom text" and can't be changed.

For files inside the first folder the meta data type is correctly inherited.

For files inside the second folder the bug consists and the type can't be changed.

Expected The subordinate folders and files inherit the meta data field types correctly.

Actual Folder 1 is created and a meta data field of type "date" is created. 38207605-folder1

The meta data type attached to files inside this first folder are correctly set. (Btw: here you see a variation of #223 on folders, I created "Folder 1.1" and "Folder 1.2", it's not a typo, will try to reproduce it.) 38207605-document

The one (or more) step inside folder 1.1 is created and inherits the meta data field, but the type is mixed up. And can't be changed. 38207605-folder1 1

Files inside this 1.1 folder are also with the wrong meta data field. 38207605-document1 1

Info:

  • OS: [e.g. Linux Debian 10, docker-compose]
  • Browser [Firefox 78.10.0]
  • Database [PostgreSQL 12.3, docker-compose]
  • Papermerge Version [2.0.1, docker-compose]

PS: outstanding project! I appreciate your work! I found this project after weeks of searching for a substitution of so called "open-source" ECM programms (who are actually attached to a company and in CE there is literally no functionality.)

cnbhl avatar Apr 28 '21 10:04 cnbhl

Indeed, both folders Folder 1.1 and Folder 1.2 should have had inherited metadata of type "date" with format "dd.mm.yy" as specified by parent folder.

@cnbhl, thanks for opening this issue with detailed description!

ciur avatar Apr 28 '21 18:04 ciur