visitscotland / dot-com-brxm

MIT License
0 stars 1 forks source link

Some categories don't appear in Product Search #558

Open jcalcines opened 7 months ago

jcalcines commented 7 months ago

Raised by

@nikkisherret

Describe the bug

In Product search Documents, some categories disappear from the document after saving.

To Reproduce

Steps to reproduce the behaviour:

  1. Go to a Megalinks module (i.e. /content/documents/visitscotland/sandbox/general-pages/standard/megalink-2)
  2. Edit the document
  3. Go to Overall CTA
  4. Add Product Search
  5. Select Product Type : Events
  6. Add the following DMS categories: Architecture and Cycling Event.
  7. Verify that they have been selected
  8. Save the document
  9. The selected categories will disappear after saving

Expected behaviour

The selected categories will display in the document

Page URL

Additional context

jlrhurta commented 7 months ago

Hi @CorinaMala you can test this issue in this environment: https://feature.visitscotland.com/?vs_brxm_host=172.28.87.25&vs_brxm_port=8016&vs_brxm_http_host=feature.visitscotland.com&vs_ssr_http_port=8216&vs_tln_http_port=8316&vs_feature_branch=PR-559&vs_ssr_proxy=on

CorinaMala commented 6 months ago

@jlrhurta I have tested this fix making sure to try different variations of the DMS categories, as well as making sure selecting all categories works. I tested this for all 5 product types (accommodation, events, food and drinks, transport, things to do) and it works 100% if times I tried. image

I do want to point out that I could not test all combination types as different product types have different dms categories amounts (like things to do having 134 categories), but I did test a vast amount of possible combinations.

Ready to be merged to develop

CorinaMala commented 5 months ago

@jlrhurta This fix was released two weeks ago, can this ticket be closed? Or since the issue is still present, would we keep this original ticket open?

jlrhurta commented 5 months ago

@CorinaMala I would like to keep it open as the solution did not work once we went to the cloud and I need to investigate with Webops what is happening