Bug Report - Articles

I noticed this today as I was trying to post an article. It is repeatable. Using XP Pro with IE8...

I create the article (the first image) then post it and it strips characters after the $ sign... Look for the $500 in the first image, then the second image only shows a 0

 

And now the finished product:

 

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 26 Feb 2010

Anyone?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 28 Feb 2010

It may be a result of the filtering done when some content is posted.

A bug, nonetheless. Aren't you a premium member (hint)?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 28 Feb 2010

I reported an identical problem with blogs a long time ago, and it was fixed.  I'll look up the ticket to see if it offers any clues.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2010

OK... here's he ticket.  It was for Beta 6: http://www.boonex.com/trac/dolphin/ticket/1046

I remember AntonL fixing it, but you won't learn much from reading the ticket.  When I reported the problem, I discovered that thje text was correctly stored in the DB, but it just wasn't displayed.

I'll look through my old PM's for more info.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2010

Gotta' admit, though: a free domain name isn't all that bad.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 28 Feb 2010

Here's an email from Anton, when I asked him what he did to fix the problem.  Sure sound like the same problem in a different place. 



Hello

preg_replace uses $1, $2 and so on as an internal variable to get the value of matched content, therefore when it sees $100 and doesn't have 100-th matched peace of content it replace the $100 with some empty value.


str_replace('$', '\\$', $sContent) - fixed the issue. The main problem was to find the place where it should be inserted.


---

Best Regards
AntonLV

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2010

Ads home backwards dollars sign

Also when you post an Ad and say you give it a price of $5000 the returned value is  5000$  on the home page after submit.

Ads Page  

 After clicking the Ad from the home page  it gets written the correct way - $5000.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 28 Feb 2010

http://www.boonex.com/trac/dolphin/ticket/1895

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 28 Feb 2010

DJ you should have made a separate thread for your issue.  It has nothing to do with what SF reported.  I was going to try and pinpoint the cause of this problem before entering a ticket.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2010

SF, can you verify that your blog post text is stored correctly in the DB?  I expect that it is, and that this is a display problem.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2010

Under bx_arl_entries in the content text table it does infact show the $500 and not the 0. It does appear to be a display problem.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 28 Feb 2010

 

It may be a result of the filtering done when some content is posted.

 

A bug, nonetheless. Aren't you a premium member (hint)?

 

Yes, I am but my skills are limited with this software. I want to make sure I have tested the bug fully before I submit a ticket (and it would be my first)

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 28 Feb 2010

DJ you should have made a separate thread for your issue.  It has nothing to do with what SF reported.  I was going to try and pinpoint the cause of this problem before entering a ticket.

HL,

i think the association is the special character $ is a site-wide issue and this was reported. its in the shopping cart, its in the ads, its in the articles. the issue is site wide with the $ character.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 28 Feb 2010

RE:

HL,

i think the association is the special character $ is a site-wide issue and this was reported. its in the shopping cart, its in the ads, its in the articles. the issue is site wide with the $ character.

Regards,

DosDawg

Can you give me a ticket number?

This thread is about php treating the dollar sign and 2 following numerals as an internal variable and replacing it with an empty string when the page is rendered. 

Is this the same problem as the one you are thinking of?  Nothing in what DJ posted indicates that it is.


You guys can put multiple issues in one ticket if you want to.... I just think it's a bad practice.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Feb 2010

RE:

HL,

i think the association is the special character $ is a site-wide issue and this was reported. its in the shopping cart, its in the ads, its in the articles. the issue is site wide with the $ character.

Regards,

DosDawg

Can you give me a ticket number?

This thread is about php treating the dollar sign and 2 following numerals as an internal variable and replacing it with an empty string when the page is rendered. 

Is this the same problem as the one you are thinking of?  Nothing in what DJ posted indicates that it is.


You guys can put multiple issues in one ticket if you want to.... I just think it's a bad practice.

yeah we talked about it, and you are more than likely correct, where it is similar, its not exactly the same, and it should be two separate tickets. i wrote to ask him what the association was on it, and it may have been misread what was being presented, hence his post.

should be two tickets without a doubt, otherwise 1/2 will get fixed and the other 1/2 will show up in a mod somewhere

Regards,

DosDawg

and P.S. i cant create a ticket on anything, singular or plural :)

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 28 Feb 2010

http://www.boonex.com/trac/dolphin/ticket/1897

thank you HL for you findings it will definitely save some time !

Rules → http://www.boonex.com/terms
Quote · 2 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.