AkrosAG / Akros-Marketplace

Apache License 2.0
4 stars 5 forks source link

Search over all does not work anymore #222

Closed akrguda closed 2 years ago

akrguda commented 2 years ago

As a user I want to see all ads so I use the button "alle anzeigen" but no results are shown.

DoR:

No DoR. It is a bug in the current software

Aca:

DoD:

akrguda commented 2 years ago

examples:

Button to test:

Image

Results:

Image

akrguda commented 2 years ago

Asida solved the problem but we did not the root of the problem. Here is description:

https://wiki.akros.ch/pages/viewpage.action?pageId=130449488

Dummylearners commented 2 years ago

grafik

Search dosent work.

akrguda commented 1 year ago

Sereno, 22.12.2022: Testing done, test document done, Test passed / ok

LanaKast commented 1 year ago

The ticket goes back to "in progress" until the root issue is found and fixed. @asiday @Dummylearners

asiday commented 1 year ago

The problem is solved. The cause was unsupported format of uploaded picture for a new add.

Steps to reproduce a problem:

First, create a new Advertisement:

  1. Post your new Advertisement from the Home Page by pushing the button "Create an Add".
  2. On the newly opened page https://am-ui.azurewebsites.net/create fill in all necessary fields.
  3. Upload a picture for your Advertisement. Click on "Builder hochladen".
  4. Select a picture if .jfif format from your device/computer.
  5. Press preview button.
  6. Save your Advertisement.

Second, search for all or some specific Advertisements:

  1. Go to Home page.
  2. Click on "Search over all" button.

Expected Result:

Image

Actual Result:

Image

Solution

  1. First, delete created accommodation, if you already have this problem. 

https://am-marketplace-service.azurewebsites.net/swagger-ui/index.html

Image

  1. Second, the next step could be for the future implementation: return an HTTP 400 (Bad Request) status, if a parameter is syntactically incorrect or violates a business rule.
Dummylearners commented 1 year ago

"Alle Anzeige" working. Noticed> All finished "Anzeigen" are shown 25 in numbers.

Bug Found! If you change under Angebote, from Zimmer to "Haus" or "Wohnung" or "Parkplatz" the total number of specific search results comes to same results i.e 25 in total number .

By clicking the checkbox "Mobiliert" gives the same result, i.e total search results appear 25 in number.

Test Document is updated

@asiday @LanaKast

Dummylearners commented 1 year ago

Reopen ticket.

Dummylearners commented 1 year ago

Test Environment: Firefox Web browser

Test Steps

  1. Open Site
  2. Login
  3. Under Angebote/ offers select House
  4. Click to Suche/Search button

Test pass

Test result image> image

Dummylearners commented 1 year ago

Anupama, 19.01. 2023: Testing done, test document done, Test passed / ok

Dummylearners commented 1 year ago

@asiday @LanaKast For #291 Repeated given solution steps, Result is not same as expected.

Please check, if any step is missed out. Thanks

Screenshot 1.

userID-0

Screenshot 2. image

asiday commented 1 year ago

@Dummylearners The Screenshot 1 is an Example Value, it is not actual value. To request all values from backend, please do not forgot to do this step:

Search for all topics and find the ID number of your topic. Create a HTTP request GET /topics/searches → Go to "GET /topics/searches" → Press the button "Try it out" → Press the button "Execute" → Find your advertisement.

The button "Try it out" is here: Image

This is "Execute" button: Image

Now you can find all advertisements in response body: Image

Dummylearners commented 1 year ago

False Topic Ids are deleted with false image formats

Now "Suche/Search" are working. @asiday. Thank you for help. @LanaKast

Dummylearners commented 1 year ago

Test Environment: Firefox Test OS: Windows Test Result: Pass

Repeat test steps to reproduce the pass results.

Anupama/Test Pass/ Test document updated/ 25.01.2023 @LanaKast

Screenshot:

Image