Open-event-frontend: Preview Button uses link to last Discount Ticket Link

Created on 6 May 2019  Â·  8Comments  Â·  Source: fossasia/open-event-frontend

The preview link on the organizer page uses a link to the last configured Discount Code Ticket Link instead of the plain link.

E.g. it uses
https://eventyay.com/e/39a15c6e?code=openxlab

Instead it should use
https://eventyay.com/e/39a15c6e

Screenshot from 2019-05-06 23-31-40

bug

Most helpful comment

@mariobehling I'm unable to reproduce on my local.
@uds5501 @mrsaicharan1 please check if you can reproduce this on your local?

All 8 comments

On It

@kushthedude any update on this?

@mariobehling I'm unable to reproduce on my local.
@uds5501 @mrsaicharan1 please check if you can reproduce this on your local?

@shreyanshdwivedi Can't reproduce this. Works fine locally.

@shreyanshdwivedi Use a Discount Code in public page of event and than use
previewbutton for the event , you will se the error

On Tue, 14 May 2019 at 2:45 PM, Saicharan Reddy notifications@github.com
wrote:

@shreyanshdwivedi https://github.com/shreyanshdwivedi Can't reproduce
this. Works fine locally.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-frontend/issues/2867?email_source=notifications&email_token=AKQMTLUOJMEFFQNJWNJAI5TPVJ7KTA5CNFSM4HLBCV5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVK3OSQ#issuecomment-492156746,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQMTLUZM6A3FSAQEK3DPVLPVJ7KTANCNFSM4HLBCV5A
.

@kushthedude please elaborate the steps

  • Create a discount code for the event
  • Apply the discount code on tickets.
  • go to manage events and click on preview .
  • you will see the discount code is still applied .

Mind if i takeover i have made some change in local if you say so
@shreyanshdwivedi 😅

On Tue, 14 May 2019 at 5:07 PM, Shreyansh Dwivedi notifications@github.com
wrote:

@kushthedude https://github.com/kushthedude please elaborate the steps

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-frontend/issues/2867?email_source=notifications&email_token=AKQMTLRF5RLEXPJTQYTYMILPVKQADA5CNFSM4HLBCV5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLGKBA#issuecomment-492201220,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQMTLVH7XSER2T3OVYMIJLPVKQADANCNFSM4HLBCV5A
.

@kushthedude please go ahead

Was this page helpful?
0 / 5 - 0 ratings