I think I found a bug with pingbacks

View: New views
7 Messages — Rating Filter:   Alert me  

I think I found a bug with pingbacks

by Arise :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Don't know if it is my fault (because I've played with templates), but right now if someone pingbacks my post (the first one to my post) it doesn't get displayed.
If a comment appears before (not after) the pingback, the pingback is displayed.

So, I think there might be a bug with pingbacks apearing first before comments.

Re: I think I found a bug with pingbacks

by Ingo Jobling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Not to say that Blojsom is bug free, but maybe there is an error in your
(modified) template?
Hard to say, have to look into the code...

----- Original Message -----
From: "Arise" <against_spamz@...>
To: <blojsom-users@...>
Sent: Thursday, October 11, 2007 3:46 AM
Subject: [Blojsom-users] I think I found a bug with pingbacks


>
> Don't know if it is my fault (because I've played with templates), but
> right
> now if someone pingbacks my post (the first one to my post) it doesn't get
> displayed.
> If a comment appears before (not after) the pingback, the pingback is
> displayed.
>
> So, I think there might be a bug with pingbacks apearing first before
> comments.
> --
> View this message in context:
> http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13151016
> Sent from the Blojsom - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users@...
> https://lists.sourceforge.net/lists/listinfo/blojsom-users 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-users@...
https://lists.sourceforge.net/lists/listinfo/blojsom-users

Re: I think I found a bug with pingbacks

by Cliffano Subagio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One way to be sure is to check Pingback table.

Arise, which templates did you use when you found this problem?
Is the problem still there if you switch to Asual template?


On 10/12/07, Ingo Jobling <ingo.jobling@...> wrote:
Not to say that Blojsom is bug free, but maybe there is an error in your
(modified) template?
Hard to say, have to look into the code...

----- Original Message -----
From: "Arise" <against_spamz@...>
To: <blojsom-users@...>
Sent: Thursday, October 11, 2007 3:46 AM
Subject: [Blojsom-users] I think I found a bug with pingbacks


>
> Don't know if it is my fault (because I've played with templates), but
> right
> now if someone pingbacks my post (the first one to my post) it doesn't get
> displayed.
> If a comment appears before (not after) the pingback, the pingback is
> displayed.
>
> So, I think there might be a bug with pingbacks apearing first before
> comments.
> --
> View this message in context:
> http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13151016
> Sent from the Blojsom - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users@...
> https://lists.sourceforge.net/lists/listinfo/blojsom-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-users@...
https://lists.sourceforge.net/lists/listinfo/blojsom-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-users@...
https://lists.sourceforge.net/lists/listinfo/blojsom-users

Re: I think I found a bug with pingbacks

by Arise :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How it started...

I use Asual template with minor modifications.

I've seen 1 comment in the main blog page. I've entered to that entered, but there was nothing.

I've looked in the database and there was a nice pingback to my entry.
Ive replied, and my comment appeared in the entry page alone, and the counter showed 2 comments.
Then I changed in the database the time of the pingback to be to a later date than my comment.
After a page refresh, my entry page displayed both my comment and the pingback.
If I remove my comment, the the pingback disapears again from the page.

So, in order for the pingback to be displayed, it must be preceded by a comment. (cronological)

Have I made myself understood?


Cliffano Subagio wrote:
One way to be sure is to check Pingback table.

Arise, which templates did you use when you found this problem?
Is the problem still there if you switch to Asual template?


On 10/12/07, Ingo Jobling <ingo.jobling@videotron.ca> wrote:
>
> Not to say that Blojsom is bug free, but maybe there is an error in your
> (modified) template?
> Hard to say, have to look into the code...
>
> ----- Original Message -----
> From: "Arise" <against_spamz@yahoo.com>
> To: <blojsom-users@lists.sourceforge.net>
> Sent: Thursday, October 11, 2007 3:46 AM
> Subject: [Blojsom-users] I think I found a bug with pingbacks
>
>
> >
> > Don't know if it is my fault (because I've played with templates), but
> > right
> > now if someone pingbacks my post (the first one to my post) it doesn't
> get
> > displayed.
> > If a comment appears before (not after) the pingback, the pingback is
> > displayed.
> >
> > So, I think there might be a bug with pingbacks apearing first before
> > comments.
> > --
> > View this message in context:
> >
> http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13151016
> > Sent from the Blojsom - User mailing list archive at Nabble.com.
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users

Re: I think I found a bug with pingbacks

by Ingo Jobling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Have I made myself understood?

Yes, it makes sense.  Blojsom is an incredibly rich environment, but there
are quite a few things that are AFU.

Are you able to debug in Java?  If not, I may be able help.


----- Original Message -----
From: "Arise" <against_spamz@...>
To: <blojsom-users@...>
Sent: Friday, October 12, 2007 4:29 AM
Subject: Re: [Blojsom-users] I think I found a bug with pingbacks


>
> How it started...
>
> I use Asual template with minor modifications.
>
> I've seen 1 comment in the main blog page. I've entered to that entered,
> but
> there was nothing.
>
> I've looked in the database and there was a nice pingback to my entry.
> Ive replied, and my comment appeared in the entry page alone, and the
> counter showed 2 comments.
> Then I changed in the database the time of the pingback to be to a later
> date than my comment.
> After a page refresh, my entry page displayed both my comment and the
> pingback.
> If I remove my comment, the the pingback disapears again from the page.
>
> So, in order for the pingback to be displayed, it must be preceded by a
> comment. (cronological)
>
> Have I made myself understood?
>
>
>
> Cliffano Subagio wrote:
>>
>> One way to be sure is to check Pingback table.
>>
>> Arise, which templates did you use when you found this problem?
>> Is the problem still there if you switch to Asual template?
>>
>>
>> On 10/12/07, Ingo Jobling <ingo.jobling@...> wrote:
>>>
>>> Not to say that Blojsom is bug free, but maybe there is an error in your
>>> (modified) template?
>>> Hard to say, have to look into the code...
>>>
>>> ----- Original Message -----
>>> From: "Arise" <against_spamz@...>
>>> To: <blojsom-users@...>
>>> Sent: Thursday, October 11, 2007 3:46 AM
>>> Subject: [Blojsom-users] I think I found a bug with pingbacks
>>>
>>>
>>> >
>>> > Don't know if it is my fault (because I've played with templates), but
>>> > right
>>> > now if someone pingbacks my post (the first one to my post) it doesn't
>>> get
>>> > displayed.
>>> > If a comment appears before (not after) the pingback, the pingback is
>>> > displayed.
>>> >
>>> > So, I think there might be a bug with pingbacks apearing first before
>>> > comments.
>>> > --
>>> > View this message in context:
>>> >
>>> http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13151016
>>> > Sent from the Blojsom - User mailing list archive at Nabble.com.
>>> >
>>> >
>>> >
>>> -------------------------------------------------------------------------
>>> > This SF.net email is sponsored by: Splunk Inc.
>>> > Still grepping through log files to find problems?  Stop.
>>> > Now Search log events and configuration files using AJAX and a
>>> > browser.
>>> > Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> > _______________________________________________
>>> > Blojsom-users mailing list
>>> > Blojsom-users@...
>>> > https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> _______________________________________________
>>> Blojsom-users mailing list
>>> Blojsom-users@...
>>> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Blojsom-users mailing list
>> Blojsom-users@...
>> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13171202
> Sent from the Blojsom - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users@...
> https://lists.sourceforge.net/lists/listinfo/blojsom-users 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-users@...
https://lists.sourceforge.net/lists/listinfo/blojsom-users

Re: I think I found a bug with pingbacks

by Arise :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't know how is possible to debug in java.
I managed to compile/build the code with JBuilder 2006 runing the Ant script.

But the blog is deployed to another machine with tomcat & mysql.
Don't know if this info can help me though.

Ingo Jobling wrote:
Have I made myself understood?

Yes, it makes sense.  Blojsom is an incredibly rich environment, but there
are quite a few things that are AFU.

Are you able to debug in Java?  If not, I may be able help.


----- Original Message -----
From: "Arise" <against_spamz@yahoo.com>
To: <blojsom-users@lists.sourceforge.net>
Sent: Friday, October 12, 2007 4:29 AM
Subject: Re: [Blojsom-users] I think I found a bug with pingbacks


>
> How it started...
>
> I use Asual template with minor modifications.
>
> I've seen 1 comment in the main blog page. I've entered to that entered,
> but
> there was nothing.
>
> I've looked in the database and there was a nice pingback to my entry.
> Ive replied, and my comment appeared in the entry page alone, and the
> counter showed 2 comments.
> Then I changed in the database the time of the pingback to be to a later
> date than my comment.
> After a page refresh, my entry page displayed both my comment and the
> pingback.
> If I remove my comment, the the pingback disapears again from the page.
>
> So, in order for the pingback to be displayed, it must be preceded by a
> comment. (cronological)
>
> Have I made myself understood?
>
>
>
> Cliffano Subagio wrote:
>>
>> One way to be sure is to check Pingback table.
>>
>> Arise, which templates did you use when you found this problem?
>> Is the problem still there if you switch to Asual template?
>>
>>
>> On 10/12/07, Ingo Jobling <ingo.jobling@videotron.ca> wrote:
>>>
>>> Not to say that Blojsom is bug free, but maybe there is an error in your
>>> (modified) template?
>>> Hard to say, have to look into the code...
>>>
>>> ----- Original Message -----
>>> From: "Arise" <against_spamz@yahoo.com>
>>> To: <blojsom-users@lists.sourceforge.net>
>>> Sent: Thursday, October 11, 2007 3:46 AM
>>> Subject: [Blojsom-users] I think I found a bug with pingbacks
>>>
>>>
>>> >
>>> > Don't know if it is my fault (because I've played with templates), but
>>> > right
>>> > now if someone pingbacks my post (the first one to my post) it doesn't
>>> get
>>> > displayed.
>>> > If a comment appears before (not after) the pingback, the pingback is
>>> > displayed.
>>> >
>>> > So, I think there might be a bug with pingbacks apearing first before
>>> > comments.
>>> > --
>>> > View this message in context:
>>> >
>>> http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13151016
>>> > Sent from the Blojsom - User mailing list archive at Nabble.com.
>>> >
>>> >
>>> >
>>> -------------------------------------------------------------------------
>>> > This SF.net email is sponsored by: Splunk Inc.
>>> > Still grepping through log files to find problems?  Stop.
>>> > Now Search log events and configuration files using AJAX and a
>>> > browser.
>>> > Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> > _______________________________________________
>>> > Blojsom-users mailing list
>>> > Blojsom-users@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> _______________________________________________
>>> Blojsom-users mailing list
>>> Blojsom-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Blojsom-users mailing list
>> Blojsom-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13171202
> Sent from the Blojsom - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-users 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users

Re: I think I found a bug with pingbacks

by Ingo Jobling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

In asual-entry.vm, are all the #if statements structured correctly as below ?  Perhaps you could try removing all code from asual-entry.vm and leaving just the lines to display the pingback to see whether the problem is in the template.

#if ($response.getType().equals("comment"))

<strong><a href="$permalink#response-$responseCounter">Comment</a>:</strong> <span class="author">#if($response.getAuthorURL() && $response.getAuthorURL().length() > 0)<a href="$response.getAuthorURL()">$response.getAuthor()</a>#else$response.getAuthor()#end</span> at $response.getDateAsFormat("EEE, d MMM h:mm a")

<p class="post">$response.getComment()</p>

#elseif ($response.getType().equals("trackback"))

<strong><a href="$permalink#response-$responseCounter">Trackback</a>:</strong> <span class="author"><a href="$response.getUrl()">#if ($response.getBlogName())$response.getBlogName()#else$response.getUrl()#end</a></span> at $response.getDateAsFormat("EEE, d MMM h:mm a")

#if ($response.getExcerpt())<p class="post">#if($response.getTitle())<strong>$response.getTitle()</strong><br />#end$response.getExcerpt()</p>#end

#elseif ($response.getType().equals("pingback"))

<strong><a href="$permalink#response-$responseCounter">Pingback</a>:</strong> <span class="author"><a href="$response.getUrl()">#if ($response.getBlogName())$response.getBlogName()#else$response.getUrl()#end</a></span> at $response.getDateAsFormat("EEE, d MMM h:mm a")

#if ($response.getExcerpt())<p class="post">#if($response.getTitle())<strong>$response.getTitle()</strong><br />#end$response.getExcerpt()</p>#end

#end

----- Original Message -----
From: "Arise" <against_spamz@...>
Sent: Friday, October 12, 2007 4:29 AM
Subject: Re: [Blojsom-users] I think I found a bug with pingbacks

>

> How it started...
>
> I use Asual template with minor modifications.
>
> I've seen 1 comment in the main blog page. I've entered to that entered, but
> there was nothing.
>
> I've looked in the database and there was a nice pingback to my entry.
> Ive replied, and my comment appeared in the entry page alone, and the
> counter showed 2 comments.
> Then I changed in the database the time of the pingback to be to a later
> date than my comment.
> After a page refresh, my entry page displayed both my comment and the
> pingback.
> If I remove my comment, the the pingback disapears again from the page.
>
> So, in order for the pingback to be displayed, it must be preceded by a
> comment. (cronological)
>
> Have I made myself understood?
>
>
>
> Cliffano Subagio wrote:
>>
>> One way to be sure is to check Pingback table.
>>
>> Arise, which templates did you use when you found this problem?
>> Is the problem still there if you switch to Asual template?
>>
>>
>> On 10/12/07, Ingo Jobling <
ingo.jobling@...> wrote:
>>>
>>> Not to say that Blojsom is bug free, but maybe there is an error in your
>>> (modified) template?
>>> Hard to say, have to look into the code...
>>>
>>> ----- Original Message -----
>>> From: "Arise" <
against_spamz@...>
>>> To: <
blojsom-users@...>
>>> Sent: Thursday, October 11, 2007 3:46 AM
>>> Subject: [Blojsom-users] I think I found a bug with pingbacks
>>>
>>>
>>> >
>>> > Don't know if it is my fault (because I've played with templates), but
>>> > right
>>> > now if someone pingbacks my post (the first one to my post) it doesn't
>>> get
>>> > displayed.
>>> > If a comment appears before (not after) the pingback, the pingback is
>>> > displayed.
>>> >
>>> > So, I think there might be a bug with pingbacks apearing first before
>>> > comments.
>>> > --
>>> > View this message in context:
>>> >
>>>
http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13151016
>>> > Sent from the Blojsom - User mailing list archive at Nabble.com.
>>> >
>>> >
>>> >
>>> -------------------------------------------------------------------------
>>> > This SF.net email is sponsored by: Splunk Inc.
>>> > Still grepping through log files to find problems?  Stop.
>>> > Now Search log events and configuration files using AJAX and a browser.
>>> > Download your FREE copy of Splunk now >>
http://get.splunk.com/
>>> > _______________________________________________
>>> > Blojsom-users mailing list
>>> >
Blojsom-users@...
>>> > https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >>
http://get.splunk.com/
>>> _______________________________________________
>>> Blojsom-users mailing list
>>>
Blojsom-users@...
>>> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>
http://get.splunk.com/
>> _______________________________________________
>> Blojsom-users mailing list
>>
Blojsom-users@...
>> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>>
>>
>
> --
> View this message in context:
http://www.nabble.com/I-think-I-found-a-bug-with-pingbacks-tf4605632.html#a13171202
> Sent from the Blojsom - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>
http://get.splunk.com/
> _______________________________________________
> Blojsom-users mailing list
>
Blojsom-users@...
> https://lists.sourceforge.net/lists/listinfo/blojsom-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-users@...
https://lists.sourceforge.net/lists/listinfo/blojsom-users
LightInTheBox - Buy quality products at wholesale price