Since Upgrading to 9.0.8 there is a strange error in my installations (wich are all the same).
In a custom entity I have to print out some PDF. For convenience I created Bootstrap buttons based on the WYSIWYG editor field, where I coded the Link to the PDF template by concatenating the necessary values, as shown in the following example. The code is implemented to the Editos field by formula.
[PHP]ausstellungslisteDrucken(this is the WYSIWYG field) = string\concatenate('<button type="button" class="btn-xs btn-primary" style="width: 100%;">', '<a rel="noopener noreferrer"',' ', 'href="/?entryPoint=pdf&entityType=Ausstellungen&entityId= ',id ,'&templateId=649aea4e09f81da53','"',' ', 'target="_blank">',
'<span style="color: #fff; text-decoration: none;">','ohne Preis','</span></a></button>');(the rest is the code to concatenate the URL to the PDF, which is pulled by the templateId on base of the current record (entityId=',id ))
Until the Upgrade this worked without problems. This one button does not even appear and also printing by the menu on top of the record, the PDF will not be created, only a blank page with error 500 appears.
Nothing in log file or Server log.
The most strange thing is, when I duplicate the same formula right after the already present first formula, it works.
I tried also with any third party plugin deinstalled.
In a custom entity I have to print out some PDF. For convenience I created Bootstrap buttons based on the WYSIWYG editor field, where I coded the Link to the PDF template by concatenating the necessary values, as shown in the following example. The code is implemented to the Editos field by formula.
[PHP]ausstellungslisteDrucken(this is the WYSIWYG field) = string\concatenate('<button type="button" class="btn-xs btn-primary" style="width: 100%;">', '<a rel="noopener noreferrer"',' ', 'href="/?entryPoint=pdf&entityType=Ausstellungen&entityId= ',id ,'&templateId=649aea4e09f81da53','"',' ', 'target="_blank">',
'<span style="color: #fff; text-decoration: none;">','ohne Preis','</span></a></button>');(the rest is the code to concatenate the URL to the PDF, which is pulled by the templateId on base of the current record (entityId=',id ))
Until the Upgrade this worked without problems. This one button does not even appear and also printing by the menu on top of the record, the PDF will not be created, only a blank page with error 500 appears.
Nothing in log file or Server log.
The most strange thing is, when I duplicate the same formula right after the already present first formula, it works.
I tried also with any third party plugin deinstalled.
Comment