Skip to content

Conversation

ranjsa
Copy link
Member

@ranjsa ranjsa commented Sep 17, 2019

Fixes #2183

Changes: [Before - for removing favourite event it was passing favoriteEventId so that it was showing error "Object not found"
After - In open-event-api-dev.herokuapp for deleteing a favourite event it is expecting event.id , So I change favouriteEventId to event.id And now it is able to remove favourite events successfully. ]

Screenshots for the change:
fix2183

3arjwd

app/build.gradle Outdated
aaptOptions {
cruncherEnabled = false
}
buildToolsVersion = '29.0.2'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That got changed automatically
when i was setting up the project on my system .
Should i remove it ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Member

@liveHarshit liveHarshit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert unnecessary changes

Copy link
Contributor

@anhanh11001 anhanh11001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squash your commits as well. Try to keep 1 commit/PR. Follow Harshit request and rest is good

@liveHarshit
Copy link
Member

@ranjsa Build is failing. Always check for spotless before commit using ./gradlew spotlessCheck for check and ./gradlew spotlessApply to fix.

@iamareebjamal
Copy link
Member

iamareebjamal commented Sep 17, 2019

Please see titles of other PRs and follow same semantics

See the body

@ranjsa
Copy link
Member Author

ranjsa commented Sep 17, 2019

@anhanh11001

Squash your commits as well. Try to keep 1 commit/PR. Follow Harshit request and rest is good
Done 👍

@ranjsa Build is failing. Always check for spotless before commit using ./gradlew spotlessCheck for check and ./gradlew spotlessApply to fix.
@liveHarshit
Done 👍

Copy link
Member

@liveHarshit liveHarshit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, so now you removed the whole manifest file.

@liveHarshit
Copy link
Member

Please see titles of other PRs and follow same semantics

See the body

@ranjsa

@ranjsa
Copy link
Member Author

ranjsa commented Sep 17, 2019

Okay, so now you removed the whole manifest file.

@liveHarshit 😅 No , Sorry actually there was a conflict and by mistake i deleted that file but i put that back again and resolved the conflicts ...
is it OK now ?

@iamareebjamal
Copy link
Member

Have you read this? #2346 (comment)

Has been posted 2 times now

<data
android:pathPrefix="/reset-password"/>
<data
android:pathPrefix="/email"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just got added up from my repository unknowingly So i removed it .

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert it!

Copy link
Member

@iamareebjamal iamareebjamal Sep 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just got added up from my repository unknowingly So i removed it .

I wish magic existed in real world, but nothing gets added unknowingly

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

@ranjsa
Copy link
Member Author

ranjsa commented Sep 17, 2019

Have you read this? #2346 (comment)

Has been posted 2 times now
@iamareebjamal
Yes i saw that i was just changing the title

@ranjsa ranjsa changed the title Fixing Issue #2183 Fix: Not able to remove favorite events Sep 17, 2019
@iamareebjamal
Copy link
Member

iamareebjamal commented Sep 17, 2019

Still not correct and tests are failing

@ranjsa
Copy link
Member Author

ranjsa commented Sep 17, 2019

Still not correct

@iamareebjamal Should I remove everything from body except gif file , Will that be fine ?

Copy link
Member

@nikit19 nikit19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try rebasing and squashing your commits

@ranjsa
Copy link
Member Author

ranjsa commented Sep 17, 2019

Try rebasing and squashing your commits

@nikit19 OK doing it

android:pathPrefix="/reset-password"/>
<data
android:pathPrefix="/email"/>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not commit this file at all.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually before sending PR I pulled all the changes from upstream , So thats why it got added up
What should i do Now ?


fun addFavorite(favoriteEvent: FavoriteEvent, event: Event) =
favoriteEventApi.addFavorite(favoriteEvent).map {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I will remove that extra space

@iamareebjamal
Copy link
Member

Should I remove everything from body except gif file , Will that be fine ?

Your title is not according to standards. Please carefully look at other titles

@iamareebjamal
Copy link
Member

iamareebjamal commented Sep 17, 2019

Never make PRs from development branch. Always create a new branch for each PR

@ranjsa ranjsa changed the title Fix: Not able to remove favorite events fix: Not able to remove favorite events Sep 17, 2019
@auto-label auto-label bot added the fix label Sep 17, 2019
Copy link
Member

@liveHarshit liveHarshit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always follow the commit guidelines: http://chris.beams.io/posts/git-commit/

@iamareebjamal iamareebjamal changed the title fix: Not able to remove favorite events fix: Use event ID in favorite remove API call Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not able to remove favorite events

5 participants