Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Dependency List
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 149
    • Issues 149
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 46
    • Merge Requests 46
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Merge Requests
  • !265

Open
Opened 8 minutes ago by Guy Thouret@gthouret
  • Report abuse
Report abuse

Resolve "(bug): publishing a blog that was saved as a draft or "unlisted" does not generate activity post"

Couple of bugs fixed here...

The logic wasn't there to create an activity when transitioning a 'published' blog from unlisted to public access.

Editing a draft blog would post string false for published status which was interpreted as boolean true in the endpoint causing a draft blog to be 'published' when saving the first edit.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b 612-blog-activity origin/612-blog-activity

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/master
git merge --no-ff 612-blog-activity

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Request to merge 612-blog-activity into master
The source branch is 9 commits behind the target branch
Open in Web IDE
  • Email patches
  • Plain diff
Pipeline #70495569 failed for 00b5f3b1 on 612-blog-activity
          Requires 2 more approvals from Devs and Deployers.
          Rami Albatal
          Rami Albatal
          Martin Santangelo
          Martin Santangelo
          Marcelo Rivera
          Marcelo Rivera
          Brian Hatchet
          Brian Hatchet
          Mark Harding
          Mark Harding
          Ready to be merged automatically. Ask someone with write access to this repository to merge this request
          • Discussion 0
          • Commits 3
          • Pipelines 2
          • Changes 3
          • Loading...
          • Guy Thouret @gthouret changed milestone to %sprint: Interesting Iguana 8 minutes ago

            changed milestone to %sprint: Interesting Iguana

          • Guy Thouret @gthouret added Priority::2 - Normal Product::Blogs Status::Review Type::Bug labels 8 minutes ago

            added Priority::2 - Normal Product::Blogs Status::Review Type::Bug labels

          • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
          Please register or sign in to reply
          0 Assignees
          None
          Assign to
          sprint: Interesting Iguana
          Milestone
          sprint: Interesting Iguana
          Assign milestone
          None
          Time tracking
          No estimate or time spent
          4
          Labels
          Priority::2 - Normal Product::Blogs Status::Review Type::Bug
          Assign labels
          • View project labels
          Lock merge request
          Unlocked
          8
          8 participants
          user avatar
          Rami Albatal
          user avatar
          Martin Santangelo
          user avatar
          Marcelo Rivera
          user avatar
          Brian Hatchet
          user avatar
          Mark Harding
          user avatar
          Ben Hayward
          user avatar
          Emiliano Balbuena
          Reference: minds/engine!265