laravel-mail-editor icon indicating copy to clipboard operation
laravel-mail-editor copied to clipboard

No template associated

Open dualznz opened this issue 2 years ago • 3 comments

Describe the bug

When trying to open a a Mail template a error comes up with no template found, downgrade to version 4.0.3 and the template loads up fine.

markdown.template wont load in 4.0.4, also the footer of the application still shows 4.0.3 on 4.0.4

Reproduction steps

Steps to reproduce the behavior:

  1. Go to 'Mailables'
  2. Click on 'a user made mailable'
  3. See error

Laravel Version:

9.44.0

MailEclipse package version:

4.0.4

Screenshots (if applicable)

https://i.imgur.com/vvKeixx.jpg


Additional information Mailables are in `qpp\mail\` Templates are in `resources\views\markdown\`

dualznz avatar Dec 20 '22 00:12 dualznz

Hi there @dualznz

If I understand correctly, the template was linked before and shows on the older version?

With the version name showing incorrectly at the base it is likely my fault not updating the version on the main class.

ReeceM avatar Dec 20 '22 09:12 ReeceM

that is correct, nothing changed in paths between 4.0.3 and 4.0.4

dualznz avatar Dec 20 '22 18:12 dualznz

So I think I had this issue locally myself with templates and something with the names.

I will have a look again on my install, I recall something that the package was looking in a different directory although it's defined correctly. Didn't think more of the bug than being a local issue.

ReeceM avatar Dec 22 '22 10:12 ReeceM