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

blindLinkOptions in Links cannot be restricted #397

Closed
marcelmarty opened this issue Apr 8, 2021 · 2 comments
Closed

blindLinkOptions in Links cannot be restricted #397

marcelmarty opened this issue Apr 8, 2021 · 2 comments

Comments

@marcelmarty
Copy link

marcelmarty commented Apr 8, 2021

Issue description
The blindLinkOptions (File, Mail, Page, ...) in Links cannot be restricted to specific types. They always will be resetted after saving the content element.

System configuration:
TYPO3: 10.4.10
mask: 6.6.3
PHP: 7.4.12

Ways to reproduce:

  1. Create a new mask element
  2. Insert a repeating element (e. g. Links)
  3. Insert a link element in the previously created repeating element (e.g. Link)
  4. Edit the tab "Field Control" of the link element and disable some options
    mask-before-save
  5. Save the content element
  6. Return to the link element and check the tab "Field Control" again --> all options are active again
    mask-after-save
@nhovratov
Copy link
Collaborator

Hi @marcelmarty On a fresh installation it works fine.
How does the mask.json look like after the first saving?

@nhovratov
Copy link
Collaborator

nhovratov commented Apr 20, 2021

Ok, now on a clean installation it behaves like you explained.
Edit: Seems like it only happens if there are two fields with the same name (link).
You probably have another field (not in repeating), which has the name "link" too.

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