Problem with entering updates


#1

I’m having a problem after upgrading to the latest CVS yesterday
where if I cannot enter a reply or comment via the web interface.
Email works fine.

All other changes including modifying things like signatures
in users works fine.

If I use the jumbo page, everything except the comment/reply sections
for the tickets work. If I use the comment/reply pages either from
the top or from individual history entries, nothing works on that
page.

I couldn’t find anything in the error logs, so just to check it wasn’t a
corrupt DB / CVS tree I moved all my current rt stuff out of the
way and did a complete reinstall, including pulling a new working
directory and creating a new db, however the problem doesn’t go away.

I’ve looked in the database and there are no attachments missing
transactions and no transactions are entered at all for the failed updates.

Any ideas?

Mark

Mark Vevers. mark@ifl.net / mvevers@rm.com
Internet Backbone Engineering Team
Internet for Learning, Research Machines Plc
Tel: +44 1235 823380, Fax: +44 1235 823424


#2

rt-1-3-72 is OK. Upgrade to cvs head and the bug returns. Doesn’t look
like it is in the main rt code (downgrading that from rt-1-1 head
doesn’t fix problem). I am checking out changes to webrt from 1-3-72

Cheers
Mark

Mark Vevers wrote:

I’m having a problem after upgrading to the latest CVS yesterday
where if I cannot enter a reply or comment via the web interface.
Email works fine.
All other changes including modifying things like signatures
in users works fine.

If I use the jumbo page, everything except the comment/reply sections
for the tickets work. If I use the comment/reply pages either from
the top or from individual history entries, nothing works on that
page.
I couldn’t find anything in the error logs, so just to check it wasn’t a
corrupt DB / CVS tree I moved all my current rt stuff out of the
way and did a complete reinstall, including pulling a new working
directory and creating a new db, however the problem doesn’t go away.

I’ve looked in the database and there are no attachments missing
transactions and no transactions are entered at all for the failed
updates.

Any ideas?

Mark

Mark Vevers. mark@ifl.net / mvevers@rm.com
Internet Backbone Engineering Team
Internet for Learning, Research Machines Plc
Tel: +44 1235 823380, Fax: +44 1235 823424


#3

I think I know what it is. I’ll have a look in a coupe of hours.On Wed, May 16, 2001 at 02:30:38PM +0100, Mark Vevers wrote:

rt-1-3-72 is OK. Upgrade to cvs head and the bug returns. Doesn’t look
like it is in the main rt code (downgrading that from rt-1-1 head
doesn’t fix problem). I am checking out changes to webrt from 1-3-72

Cheers
Mark

Mark Vevers wrote:

I’m having a problem after upgrading to the latest CVS yesterday
where if I cannot enter a reply or comment via the web interface.
Email works fine.
All other changes including modifying things like signatures
in users works fine.

If I use the jumbo page, everything except the comment/reply sections
for the tickets work. If I use the comment/reply pages either from
the top or from individual history entries, nothing works on that
page.
I couldn’t find anything in the error logs, so just to check it wasn’t a
corrupt DB / CVS tree I moved all my current rt stuff out of the
way and did a complete reinstall, including pulling a new working
directory and creating a new db, however the problem doesn’t go away.

I’ve looked in the database and there are no attachments missing
transactions and no transactions are entered at all for the failed
updates.

Any ideas?

Mark


Mark Vevers. mark@ifl.net / mvevers@rm.com
Internet Backbone Engineering Team
Internet for Learning, Research Machines Plc
Tel: +44 1235 823380, Fax: +44 1235 823424


Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

“It’s buried in the desert, got sand in it, melts Nazis. You know,
the Ark of the Covenant” – siva


#4

Try the latest stuff in CVS. there were a couple small misses
in some refactoring I did.

    -jOn Wed, May 16, 2001 at 02:30:38PM +0100, Mark Vevers wrote:

rt-1-3-72 is OK. Upgrade to cvs head and the bug returns. Doesn’t look
like it is in the main rt code (downgrading that from rt-1-1 head
doesn’t fix problem). I am checking out changes to webrt from 1-3-72

Cheers
Mark

Mark Vevers wrote:

I’m having a problem after upgrading to the latest CVS yesterday
where if I cannot enter a reply or comment via the web interface.
Email works fine.
All other changes including modifying things like signatures
in users works fine.

If I use the jumbo page, everything except the comment/reply sections
for the tickets work. If I use the comment/reply pages either from
the top or from individual history entries, nothing works on that
page.
I couldn’t find anything in the error logs, so just to check it wasn’t a
corrupt DB / CVS tree I moved all my current rt stuff out of the
way and did a complete reinstall, including pulling a new working
directory and creating a new db, however the problem doesn’t go away.

I’ve looked in the database and there are no attachments missing
transactions and no transactions are entered at all for the failed
updates.

Any ideas?

Mark


Mark Vevers. mark@ifl.net / mvevers@rm.com
Internet Backbone Engineering Team
Internet for Learning, Research Machines Plc
Tel: +44 1235 823380, Fax: +44 1235 823424


Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

“Bother,” said Pooh, “Eeyore, ready two photon torpedoes and lock
phasers on the Heffalump, Piglet, meet me in transporter room three”


#5

(Jesse, I forgot to forward to the list again … I’ve
also done a bit more digging but haven’t found it yet).

Jesse wrote:

Try the latest stuff in CVS. there were a couple small misses
in some refactoring I did.

Nope, still not working from a clean install.

When you click update it just ignores the changes.
I presume this is as a result of the changes to Display.html
and the more generic way you are handling the form results.
The create message works because you handle that separatly.
I’m still trying to piece together which bits of code call
what but I am getting there! Am going to look at
ProcessUpdateMessage next …

Cheers
Mark

Mark Vevers. mark@ifl.net / mvevers@rm.com
Internet Backbone Engineering Team
Internet for Learning, Research Machines Plc
Tel: +44 1235 823380, Fax: +44 1235 823424


#6

groan So so so sorry about that.On Thu, May 17, 2001 at 05:28:23PM +0100, Mark Vevers wrote:

You’ve fixed the reply, but not the comment - due to the fact
you missed a change from ARGS to ARGSRef in the comments bit.

Heres the patch:

Index: Web.pm

RCS file: /raid/cvsroot/rt/lib/RT/Interface/Attic/Web.pm,v
retrieving revision 1.1.2.53
diff -r1.1.2.53 Web.pm
124c124
< if ($args{ARGS}->{‘UpdateType’} =~ /^(private|public)$/) {

  if ($args{ARGSRef}->{'UpdateType'} =~ /^(private|public)$/) {

Cheers
Mark
Jesse wrote:

did you restart apache? I’ve definitely got it working here.

On Thu, May 17, 2001 at 12:04:49PM +0100, Mark Vevers wrote:

Jesse wrote:

Try the latest stuff in CVS. there were a couple small misses
in some refactoring I did.

    -j

Nope, still not working from a clean install.

When you click update it just ignores the changes, but still calls
display.html

Cheers
Mark


Mark Vevers. mark@ifl.net / mvevers@rm.com
Internet Backbone Engineering Team
Internet for Learning, Research Machines Plc
Tel: +44 1235 823380, Fax: +44 1235 823424


Mark Vevers. mark@ifl.net / mvevers@rm.com
Internet Backbone Engineering Team
Internet for Learning, Research Machines Plc
Tel: +44 1235 823380, Fax: +44 1235 823424

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

After all, it’s not every day you meet up with an evil power
-M. Bulgakov