create message comment bug

sunnavy (at gmail)'s Avatar

sunnavy (at gmail)

09 Sep, 2009 07:45 AM

the doc( http://lighthouseapp.com/api/messages ) says the xml post needs the following format:

<message>
  <title>...</title>
  <body></body>
</message>

but that doesn't work at all, and I found the following format works a bit:

<comment>
  <body>...</body>
</comment>

a.k.a. the root element becomes "comment", and "title" item is not allowed.
besides, although this can create a comment, the server throws a 500 error, :/

  1. 1 Posted by Rick on 22 Sep, 2009 12:43 AM

    Rick's Avatar

    Thanks for the report, we'll get this issue resolved and the documentation updated real soon.

  2. 2 Posted by Pedro Belo on 28 Sep, 2009 11:25 PM

    Pedro Belo's Avatar

    humm +1

    none of these alternatives are working for me right now

  3. 3 Posted by Rick on 13 Nov, 2009 06:03 PM

    Rick's Avatar

    I've fixed the documentation, and a bug related to comment posting. This fix will go out over the weekend.

  4. 4 Posted by sunnavy (at gma... on 23 Nov, 2009 03:56 AM

    sunnavy (at gmail)'s Avatar

    this still doesn't work for me, the old way still works anyway.
    maybe new code hasn't been deployed yet?

  5. 5 Posted by sunnavy (at gma... on 23 Nov, 2009 03:57 AM

    sunnavy (at gmail)'s Avatar

    btw, the doc is still the one too

  6. 6 Posted by Rick on 23 Nov, 2009 05:41 AM

    Rick's Avatar

    What's the exact XML you're sending that gets you that validation
    error? I've attempted, and I can create messages just fine with XML
    and JSON formats. Aside from the wrong docs, I haven't seen any other
    issues.

  7. 7 Posted by sunnavy (at gma... on 23 Nov, 2009 10:16 AM

    sunnavy (at gmail)'s Avatar

    ahh, you said you fixed the documentation, I thought the old way was wrong ;)
    if <comment>...</comment> is the right behavior, then no problem now

    thanks

  8. Will Duncan closed this discussion on 23 Nov, 2009 08:45 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac