Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object fields can not be hidden #37

Open
JBGruber opened this issue Jun 6, 2023 · 1 comment
Open

object fields can not be hidden #37

JBGruber opened this issue Jun 6, 2023 · 1 comment
Assignees

Comments

@JBGruber
Copy link
Member

JBGruber commented Jun 6, 2023

I thought at first that this was an amcat4client issue, but the browser shows me an internal server error. In the amcat logs the error is:

elasticsearch.BadRequestError: BadRequestError(400, 'mapper_parsing_exception', 'Mapping definition for [dfm] has unsupported parameters:  [meta : {amcat4_display_meta=0}]')

steps to reproduce:

  1. run the actioncat example action: https://github.com/ccs-amsterdam/actioncat/tree/main#r-action-example-tidy-document-features
  2. go to the web interface and try to hide the dfm field (Fields -> Show in article)
@vanatteveldt
Copy link
Member

In fact, it's probably a good idea to move all these instance-level field settings to the system index rather than (ab)using the mapping. This would also hold for determining which fields should be hidden from the metareader

@vanatteveldt vanatteveldt self-assigned this Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants