cachet icon indicating copy to clipboard operation
cachet copied to clipboard

setting a component-status in incident does not update component on frontpage

Open Finkregh opened this issue 11 years ago • 20 comments

When i edit an incident and set the components' status, this staus is not shown in the component-list on the frontpage

Finkregh avatar Jan 15 '15 11:01 Finkregh

I've edited a component from the edit component page, then gone back to the dashboard and it's showing me the right status.

Can you confirm your setup?

jbrooksuk avatar Jan 15 '15 11:01 jbrooksuk

?, i've changed an incident via '/dashboard/incidents/3/edit', and there the component in the form-group with id="component-status"

Finkregh avatar Jan 15 '15 13:01 Finkregh

By "frontpage" do you mean the status page?

jbrooksuk avatar Jan 15 '15 13:01 jbrooksuk

Same problem here, fresh install on heroku.

I tried to change the component status on the "Edit an incident" page, but whatever I do, it's still in "operational" status on the status page and the "Edit an incident" page.

sysless avatar Jan 15 '15 15:01 sysless

Ok, knowing it's Heroku helps. I'll take a look.

jbrooksuk avatar Jan 15 '15 15:01 jbrooksuk

I actually get the "Whoops, something went wrong" error on Heroku when I try to create a component.

jbrooksuk avatar Jan 15 '15 15:01 jbrooksuk

I'm getting invalid text representation: 7 ERROR: invalid input syntax for integer as an error.

jbrooksuk avatar Jan 15 '15 16:01 jbrooksuk

I hate PgSQL.

jbrooksuk avatar Jan 15 '15 16:01 jbrooksuk

frontpage = status-page = / and is use sqlite :)

Finkregh avatar Jan 15 '15 16:01 Finkregh

Trying something now. One thing at a time :)

jbrooksuk avatar Jan 15 '15 16:01 jbrooksuk

Right, fixed the component adder in PgSQL (Heroku).

jbrooksuk avatar Jan 15 '15 16:01 jbrooksuk

Can you confirm that this is still an issue for you?

jbrooksuk avatar Jan 15 '15 22:01 jbrooksuk

yep. @cadaa49599ec8746a8a4b312e89c7bf2b7db99ff

Finkregh avatar Jan 16 '15 07:01 Finkregh

Ok, we'll investigate :)

jbrooksuk avatar Jan 16 '15 08:01 jbrooksuk

Are you able to export the components table for me?

jbrooksuk avatar Jan 16 '15 08:01 jbrooksuk

(you got mail)

Finkregh avatar Jan 19 '15 06:01 Finkregh

Thanks @Finkregh I'll take a look now.

jbrooksuk avatar Jan 24 '15 09:01 jbrooksuk

Everything looks fine in the DB.

Can you confirm these details:

  1. OS
  2. Database
  3. Are you using the latest version of Cachet?
  4. Did you chmod ./app/storage?

jbrooksuk avatar Jan 24 '15 09:01 jbrooksuk

OS: Debian 7.8 x86, Linux 3.2.0-4-686-pae DB: sqlite version: @6250aec581121730030685520470e58bd4622e12 file/folder rights: webserver-process can 'rwx'

The problem persists, i have an not-okay-icon in the history-list, but not on the component

Finkregh avatar Jan 27 '15 16:01 Finkregh

fixed via #431 (running gulp, etc.)

Finkregh avatar Jan 27 '15 18:01 Finkregh