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

Exception in frontend after using the exported mask element #1

Closed
wowaTYPO3 opened this issue Jul 11, 2016 · 9 comments
Closed

Exception in frontend after using the exported mask element #1

wowaTYPO3 opened this issue Jul 11, 2016 · 9 comments
Labels
Milestone

Comments

@wowaTYPO3
Copy link

I've done an export from a mask CE. Then I installed the generated extension in a TYPO3 7.6 without Mask and placed the new CE on a page. In the BE everything works, but in the FE I see an error.
exception-mask_export

@IchHabRecht
Copy link
Owner

Would you mind to submit either your mask.json file or your extension?

@wowaTYPO3
Copy link
Author

@IchHabRecht
Copy link
Owner

Would you mind to test branch https://github.com/CPS-IT/mask_export/tree/inline-handling

@IchHabRecht IchHabRecht added this to the 0.2.0 milestone Jul 12, 2016
@wowaTYPO3
Copy link
Author

wowaTYPO3 commented Jul 14, 2016

Ok, it works!
In my example I have an email field, in the generated fluidtemplate is:

<f:link.page pageUid="{data.tx_maskvcard2_vcard_email}">{data.[tx_maskvcard2_vcard_email]}</f:link.page>

I think the braces [ ] are wrong?

@IchHabRecht
Copy link
Owner

Thanks for pointing this out. Should be fixed in the pull request now.

@wowaTYPO3
Copy link
Author

No error in the latest inline-handling branch. But I tried an mask element with IRRE in IRRE, and the generated extension shows no images in the frontend. There's a difference in the fluidtemplates for this element, but unfortunately I have no time to test it at the moment. In the zip is the mask.json and both template files.
Archiv.zip

@wowaTYPO3
Copy link
Author

wowaTYPO3 commented Jul 22, 2016

Found a little error in the generated Fluidtemplate:
<f:link.page pageUid="{data.tx_maskwowaexample_vcard_email}">{data.tx_maskwowaexample_vcard_email</f:link.page>

Missing } before closing </f:link.page>

@IchHabRecht
Copy link
Owner

Tested your json and the export. Works on my machine ;-) Can you try to delete all caches and retest the IRRE in IRRE testcase?

@IchHabRecht
Copy link
Owner

Corrected the link problem in inline-handling branch

IchHabRecht pushed a commit that referenced this issue May 3, 2022
…panel

Change module label and fix code preview panels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants