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

[Bug]: Events not displaying in Schedule UI when titles contain certain character sequences #876

Open
2 tasks done
ghcco opened this issue Mar 3, 2025 · 3 comments
Open
2 tasks done
Labels

Comments

@ghcco
Copy link

ghcco commented Mar 3, 2025

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

What happened:
When creating events with titles containing specific character patterns (particularly IDs separated by a colon without spaces), the events are created successfully but do not display in the Schedule UI view. The events exist in the system and are visible via API calls, but they do not render in the web interface.

Expected behavior: All events should display in the Schedule tab regardless of the characters in their titles.

Reproduction steps:

  1. Create an event with a title containing character patterns like: Title (Plan) - [email protected] (ID1:ID2)
  2. Observe that the event doesn't appear in the Schedule view via web interface UI
  3. Create a similar event but with spaces around the colon: Title (Plan) - [email protected] (ID1 : ID2)
  4. Observe that both events now appear in the Schedule view

This suggests the UI rendering code may have issues with parsing or displaying titles with certain character sequences.

Operating System

Ubuntu 22.04 LTS

Node.js Version

v16.20.2

Cronicle Version

v0.9.76

Server Setup

Single Server

Storage Setup

Local Filesystem

Relevant log output

curl -H "X-API-Key: API_KEY_REDACTED" "http://localhost:3012/api/app/get_event/v1?id=em7s5hxhv21"

{"code":0,"event":{"title":"3 Mar 2025: name (Plan) - [email protected] (B8Nxxxxx2d99R:B8OfxxxxxLHc)","enabled":1,"category":"general","plugin":"urlplug","target":"cronicle","timeout":3600,/* additional event data truncated */}}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ghcco ghcco added the bug label Mar 3, 2025
@jhuckaby
Copy link
Owner

jhuckaby commented Mar 3, 2025

How strange. I cannot reproduce this.

Could it be that your schedule UI is delayed somehow? If you refresh the page does the missing event appear?

Do you have some sort of filter on the schedule page?

@jhuckaby
Copy link
Owner

jhuckaby commented Mar 3, 2025

I also tried the title from your curl command. It shows up fine for me as well:

I cannot explain why these events are not showing in your Cronicle UI.

If you open your web dev console in your browser, and type: $P().events while on the schedule page, can you find the missing event in that array?

@ghcco
Copy link
Author

ghcco commented Mar 3, 2025

Unfortunately I am unable to reproduce this again now that I have pushed through Step 3 in my Reproduction Steps above

All events (even those created as Step 1 in the Reproduction Steps above) are now showing

However there was a 12 hour period of no changes, other than simply actioning Step 3 & 4 which caused all new Events to finally show on the web UI.

Deploying to a brand new environment with no history would potentially allow this to be reproduced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants