cross-solution / YAWIK

YAWIK is a web application. It can be used as an ATS applicant tracking system or as a jobboard.
https://yawik.org
MIT License
125 stars 67 forks source link

Downloading an application as PDF fails #642

Closed cbleek closed 3 years ago

cbleek commented 3 years ago
Call to undefined method DoctrineMongoODMModule\Proxy\__PM__\Applications\Entity\Attachment\Generatedfcb5db975e8d3da0077f85e8b7aee8a1::getContent()

Source file

File: .../applications/manage/detail.pdf.phtml:141

131:                        <td><?= $contact->getEmail() ?></td>
132:                    </tr>
133:                    <tr>
134:                        <td class="col1"><?= $this->translate('Phone') ?>:</td>
135:                        <td><?= $contact->getPhone() ?></td>
136:                    </tr>
137:                </table>
138:            </td>
139:            <td align="right">
140:                <?php if ($contact->getImage()): ?>
141:                    <img src="data:;base64,<?= base64_encode($contact->getImage()->getContent()) ?>" class="photo">
142:                <?php endif ?>
143:            </td>
144:        </tr>
145:    </table>

loggedin as demo/demo

https://staging.yawik.org/de/applications/5ed22a0f4a0b6e31bc0f2e62

Auswahl_465

TiSiE commented 3 years ago

Error is probably fixed in newer versions of the migration process and the demo system is not yet updated..
It is at least not reproducable in my dev environment.
I will close this issue.