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

Web interface shows no emails #25

Open
mvalenzisi opened this issue Apr 4, 2019 · 3 comments
Open

Web interface shows no emails #25

mvalenzisi opened this issue Apr 4, 2019 · 3 comments

Comments

@mvalenzisi
Copy link

mvalenzisi commented Apr 4, 2019

Hi,
after sending the first email, the web interface stops working:

TypeError: Cannot read property 'value' of undefined
    at N (App.js:23)
    at Zi (react-dom.production.min.js:3273)
    at Ra (react-dom.production.min.js:3899)
    at Bo (react-dom.production.min.js:5514)
    at $o (react-dom.production.min.js:5536)
    at Pl (react-dom.production.min.js:5958)
    at Ol (react-dom.production.min.js:5925)
    at xl (react-dom.production.min.js:5860)
    at Ko (react-dom.production.min.js:5787)
    at Object.enqueueSetState (react-dom.production.min.js:2789)
App.js:23 Uncaught (in promise) TypeError: Cannot read property 'value' of undefined
    at N (App.js:23)
    at Zi (react-dom.production.min.js:3273)
    at Ra (react-dom.production.min.js:3899)
    at Bo (react-dom.production.min.js:5514)
    at $o (react-dom.production.min.js:5536)
    at Pl (react-dom.production.min.js:5958)
    at Ol (react-dom.production.min.js:5925)
    at xl (react-dom.production.min.js:5860)
    at Ko (react-dom.production.min.js:5787)
    at Object.enqueueSetState (react-dom.production.min.js:2789)

Messages are still visibile via the api:

$ curl --silent http://localhost:1080/api/emails | jq
[
  {
    "attachments": [],
    "headerLines": [
      {
        "key": "subject",
        "line": "Subject: bla bla"
      },
      {
        "key": "",
        "line": "Hello,"
      },
      {
        "key": "",
        "line": "bla bla bla"
      }
    ],
    "subject": "bla bla",
    "html": false
  }
]
@mauricioprado00
Copy link

Same thing for me, UI is not working...

@emreisikligil
Copy link

It was working yesterday. Today, the same thing happened to me. But different error. It happens after sending the first email.

react-dom.production.min.js:4408 TypeError: Cannot read property 'name' of undefined
    at N (App.js:31)
    at Zi (react-dom.production.min.js:3273)
    at Ra (react-dom.production.min.js:3899)
    at Bo (react-dom.production.min.js:5514)
    at $o (react-dom.production.min.js:5536)
    at Pl (react-dom.production.min.js:5958)
    at Ol (react-dom.production.min.js:5925)
    at xl (react-dom.production.min.js:5860)
    at Ko (react-dom.production.min.js:5787)
    at Object.enqueueSetState (react-dom.production.min.js:2789)

@cgaspard
Copy link

The problem happens when the email doesn't have all the header fields the UI requires.

#39

This will solve the problem when it gets merged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants