Skip to content

UI js response not processing post content for viewing/editingΒ #170

@solonmedia

Description

@solonmedia

Steps to reproduce the problem

Using th Mixpost Lite 2.3.0 project with laravel configured.

I've added services and set to post. The items post correctly to various services, but on the dashboard when I try to view a list of posts, edit a post, or view the posting calendar the post response is not parsed correctly.

Expected behaviour

In all of these cases, the vue components should be properly parsing these JSON payloads and rendering appropriate UI.

Actual behaviour

Fields with data are getting parsed as null and UI elements are not rendered as a result.

Detailed description

Console reports several fields present in the json response schema as null in the overall list.

Draft items appear correctly with media or without.

Image

Scheduled and Published items present with console errors about 'null' in 'content' and 'media' whether filled or not. As a result columns are not rendered in the table.

Clicking a scheduled or published post row opens a modal window with a status and tags and nothing else - no content or media.

Clicking a draft row opens a modal with the content from the right side when you are creating a new post.

Editing any of these items results in console errors about 'null' for 'content' and 'media' - but the response json being parsed includes versions of the post being edited.

Viewing the calendar shows no items, considerable console errors about 'content' and 'media' being null, yet the month.js response appears fine.

Specifications

Mixpost 2.3.0

Chrome 139.0.7258.139 (Official Build) (64-bit)

Upload Media Disk | s3
Log Channel | stack
Cache Driver | file
User agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
FFMpeg | Not Installed
MySql | 10.5.25-MariaDB-cll-lve
PHP | 8.3.24
Laravel | 10.48.29
Horizon | 5.33.3.0
Mixpost Lite | 2.3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions