*

oscman

  • ****
  • 227 posts
[BUG] No location after listing repost
« on: March 14, 2017, 04:34:22 PM »
There is a bug with location when you are trying to repost a listing
steps to reproduce:

login as demo to https://veronika.mb-themes.com/

1. Post a listing with different location ie. new york
2. after that you get to the item page you just posted, press publish listing on top.
3.don't change location its already at new york and post the listing
4. the location is not recorded in the listing

This 2 listings had same location when i was posting the ad:

https://veronika.mb-themes.com/for-sale/animals/art-collectibles/cameras-camera-accessories/test-location-3_i615

https://veronika.mb-themes.com/for-sale/animals/art-collectibles/cameras-camera-accessories/test-location_i613


*

MB Themes

Re: [BUG] No location after listing repost
« Reply #2 on: March 14, 2017, 07:27:39 PM »
another bug with text overflow here: https://veronika.mb-themes.com/for-sale/animals/art-collectibles/cameras-camera-accessories/testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest_i616

Try white space.



There is a bug with location when you are trying to repost a listing
steps to reproduce:

login as demo to https://veronika.mb-themes.com/

1. Post a listing with different location ie. new york
2. after that you get to the item page you just posted, press publish listing on top.
3.don't change location its already at new york and post the listing
4. the location is not recorded in the listing

This 2 listings had same location when i was posting the ad:

https://veronika.mb-themes.com/for-sale/animals/art-collectibles/cameras-camera-accessories/test-location-3_i615

https://veronika.mb-themes.com/for-sale/animals/art-collectibles/cameras-camera-accessories/test-location_i613

It's comming from osclass core. Osclass has session funcitons to remember last parameters (on previous page) so when your validation at publish fail, value you have entered are correctly restored.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: [BUG] No location after listing repost
« Reply #3 on: March 14, 2017, 07:34:43 PM »
Quote
Try white space.
I know and i will fix it with overflow hidden just saying its a small bug as anyone can come to your site and spamm like this making it look like broken.

Quote
It's comming from osclass core. Osclass has session funcitons to remember last parameters (on previous page) so when your validation at publish fail, value you have entered are correctly restored.

I don't get it. You mean this is osclass core bug or not bug at all? because i have never seen that and its shouldn't be like that.

When user posts a listing and see his desired location filled already he will leave it like that and then his listing will not have location
Should i post it to osclass forums to fix the bug?

*

MB Themes

Re: [BUG] No location after listing repost
« Reply #4 on: March 14, 2017, 07:43:41 PM »
@oscman
1) Well we do not develop themes for spam sites.
2) We use osclass functionality that does not clear session after publish. Try to add this to your functions.php:
Code: [Select]
function veronika_post_drop() {
  Session::newInstance()->_dropKeepForm('sPhone');
  Session::newInstance()->_dropKeepForm('term');
  Session::newInstance()->_dropKeepForm('zip');
  Session::newInstance()->_dropKeepForm('sCondition');
  Session::newInstance()->_dropKeepForm('sTransaction');

  Session::newInstance()->_clearVariables();
}

osc_add_hook('posted_item', 'veronika_post_drop');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: [BUG] No location after listing repost
« Reply #5 on: March 14, 2017, 07:54:54 PM »
Quote
1) Well we do not develop themes for spam sites.
This has no logic at all and was very unprofessional to say, if i go to https://veronika.mb-themes.com/ and start spamming all day long will your site become spam site? Developers develop things with spammers and malicious people in mind, its internet.

2) This works, thank you

*

MB Themes

Re: [BUG] No location after listing repost
« Reply #6 on: March 14, 2017, 08:01:40 PM »
@oscman
1) No, I will take care of my site and remove any kind of spam.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: [BUG] No location after listing repost
« Reply #7 on: March 14, 2017, 08:15:27 PM »
Sure this is an option if someone has 100 visitors a day but when there are 20k+ visitors a day bombarding you with listings its really hard and preventing would be the best solution