Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UpdatePostCommand.php #4672

Merged
merged 2 commits into from
Nov 21, 2023
Merged

Update UpdatePostCommand.php #4672

merged 2 commits into from
Nov 21, 2023

Conversation

webong
Copy link
Collaborator

@webong webong commented Nov 20, 2023

This pull request makes the following changes:

  • Since we're making an update, there's no reason to updating the created column.

Fixes USH-1007 .

Ping @ushahidi/platform

Since we're making an update, there's no reason to updating the created column.
Copy link

linear bot commented Nov 20, 2023

USH-1007 Changes to newly created posts can't be saved successfully

  • Old data can be edited and saved, but attempting to edit and save newly created data doesn't work.

Screen Recording 2023-11-20 at 16.25.11.mov

@webong webong merged commit c968361 into release/2023.46 Nov 21, 2023
4 checks passed
@webong webong mentioned this pull request Nov 21, 2023
webong added a commit that referenced this pull request Nov 21, 2023
* Update UpdatePostCommand.php

Since we're making an update, there's no reason to updating the created column.

* fix: ensure Timestamp is correct before updating entity
ushahidlee added a commit that referenced this pull request Jan 8, 2024
* Update UpdatePostCommand.php (#4672)

* Update UpdatePostCommand.php

Since we're making an update, there's no reason to updating the created column.

* fix: ensure Timestamp is correct before updating entity

* chore: use laravel config to retrieve settings in V5 config handler

* refactor: update eloquent repo for category

* chore: work on the places we use the data source label

* chore: fix lint in EloquentPostRepository

* test: resolve failing test for V3 endpoints

* chore: update create post command to record post source

* fix lint

* fix: fallback to null when user attribute value is undefined

* fix config data permission

* fix the issue of returned fromated created value

* Update usersetting to accept config value as array

---------

Co-authored-by: Wisdom Ebong <30173059+webong@users.noreply.github.com>
Co-authored-by: Wisdom Ebong <wisdom@ushahidi.com>
Co-authored-by: Mh-Asmi <mnaasmi@gmail.com>
Co-authored-by: ushahidlee <152860706+ushahidlee@users.noreply.github.com>
tuxpiper pushed a commit that referenced this pull request Jan 15, 2024
* Update UpdatePostCommand.php

Since we're making an update, there's no reason to updating the created column.

* fix: ensure Timestamp is correct before updating entity
tuxpiper added a commit that referenced this pull request Jan 15, 2024
* Update UpdatePostCommand.php (#4672)

* Update UpdatePostCommand.php

Since we're making an update, there's no reason to updating the created column.

* fix: ensure Timestamp is correct before updating entity

* chore: use laravel config to retrieve settings in V5 config handler

* refactor: update eloquent repo for category

* chore: work on the places we use the data source label

* chore: fix lint in EloquentPostRepository

* test: resolve failing test for V3 endpoints

* chore: update create post command to record post source

* fix lint

* fix: fallback to null when user attribute value is undefined

* fix config data permission

* fix the issue of returned fromated created value

* Update usersetting to accept config value as array

---------

Co-authored-by: Wisdom Ebong <30173059+webong@users.noreply.github.com>
Co-authored-by: Wisdom Ebong <wisdom@ushahidi.com>
Co-authored-by: Mh-Asmi <mnaasmi@gmail.com>
Co-authored-by: ushahidlee <152860706+ushahidlee@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant