IchHabRecht / mask_export

Export your mask elements as extension
GNU General Public License v2.0
45 stars 27 forks source link

cType limitation as configured in allowed cTypes for mask_content field #137

Closed kvonspiczak closed 5 years ago

kvonspiczak commented 5 years ago

Allowed cTypes are not applied in the backend "cType" field, when using mask's "repeating" field in combination with a nested "content" field and configuring the allowed cTypes within the content field.

I uploaded my mask.json as mask.txt (github doesn't support json attachments) with a minimum example in order to reproduce the issue. I allowed a couple standard cTypes, when I try to create this CE (exported version) it shows all cTypes.

Using:

Expected behaviour: list only the allowed cTypes from the mask.json

mask.txt

kvonspiczak commented 5 years ago

tested & verified. https://github.com/IchHabRecht/mask_export/pull/138 fixed the issue