Why I cannot comment Anonymously?
Application Type
Traditional Web
Service Studio Version
11.11.5 (Build 44225)

Hi,

I'm doing training exercise of Traditional Web Developer No. 8.2 Ajax Interaction.

I've gone through all steps in the exercise, when I verify the result, I found I cannot comment in the movie until I log in the website, means there is still no way to comment Anonymously.

Can you please advise if there is any steps I missed or did wrongly?


Thanks and regards.

OSMDbSX.oml

mvp_badge
MVP
Solution

Hi Steven,

I have checked the shared .oml file, and the only reason you were not able to see the anonymous comments is becuase of the 

User.Is_Active = True

Filter condition defined in the GetComments Aggregate as shown below.

Solution: Delete the above-highlighted filter condtion from the GetComments Aggregate and it will work for sure.

Note: I'm sure that the anonymous comments get stored in the respective UserMovieComment entity as per the implementation. However, the above case points to the mistake in displaying the movie comments. 

I hope this helps you!


Kind regards,

Benjith Sam

OSMDbSX.oml

Hi Benjith,

Thank you for the advice! My issue is now fixed.


Best regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.