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

Triplicate Posts #1

Closed
RayHollister opened this issue Aug 22, 2019 · 7 comments
Closed

Triplicate Posts #1

RayHollister opened this issue Aug 22, 2019 · 7 comments
Assignees

Comments

@RayHollister
Copy link
Member

The plugin (v0.12) is creating three posts in a row when the mp3 is updated. Oddly enough, the title is the datetime of the previous version of the mp3.

Screen Shot 2019-08-22 at 8 25 39 AM

@RayHollister RayHollister self-assigned this Aug 22, 2019
@RayHollister
Copy link
Member Author

Working on debugging this. Changed the datetime stamp from the formatted date to the Unix timestamp to simplify logic.

@RayHollister
Copy link
Member Author

Obviously this is still an issue...
image

@RayHollister
Copy link
Member Author

Version 0.2 added a partial, dirty fix. It deletes any old newscasts before it publishes a new newscast. At least there's only one newscast published at a time. Still working on debugging what is causing the duplicate, triplicate, quadruplicate posts.

@RayHollister RayHollister pinned this issue Aug 27, 2019
@RayHollister
Copy link
Member Author

Finally got my debugger (XDebug, Atom and Pantheon) working. Found two variables ($recenttimestamp and $lastupdate) were different types, numerical and string. Gonna try fixing that and see if I can find any other bugs.

@RayHollister
Copy link
Member Author

Forgot to close this. It's been resolved.

@RayHollister
Copy link
Member Author

Just kidding! That is not fixed.

@RayHollister RayHollister reopened this Feb 22, 2021
@RayHollister
Copy link
Member Author

Forgot to close this out!

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

No branches or pull requests

1 participant