You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Public links: saving the Edit dialog shifts the expiry by the browser's UTC offset, and an expiry can't be removed #3584
Build: v1.0.0-rc2 (96f88f9). Found during release-test row B16 (abilityai/trinity-enterprise#847), light, 1440, browser at UTC+1. Present at v0.9.5 too.
Steps
Create a public link with an expiry two days ahead.
Edit link → Save Changes without touching anything. Repeat.
Edit link → clear Expiration → Save Changes.
Expected
The expiry is unchanged after each Save; clearing the field removes the expiry.
Actual
Each untouched Save moved the expiry one hour earlier (11:00Z → 10:00Z → 09:00Z), i.e. by the browser's UTC offset. East of UTC a link expires early; west of UTC, late.
After clearing the field, the expiry was still 09:00Z. An expiry can't be removed from the UI.
Where
src/frontend/src/components/PublicLinksPanel.vue: editLink loads the stored UTC string into the datetime-local input with slice(0, 16) (:475), and saveLink parses it back as local time (:424). An empty field sends no expires_at, and the update skips a missing value (:423-425).
Acceptance criteria
Save with no change leaves expires_at identical, in any time zone.
Re-triaged for 1.0 (#847, row B16): P3 → P2. Saving the Edit dialog silently moves the expiry by the browser's UTC offset (west of UTC, every untouched Save adds hours). Same at v0.9.5: release-note, or fix if cheap (frontend only).
Activity
AndriiPasternak31 commentedon Oct 12, 2026
Re-triaged for 1.0 (#847, row B16): P3 → P2. Saving the Edit dialog silently moves the expiry by the browser's UTC offset (west of UTC, every untouched Save adds hours). Same at v0.9.5: release-note, or fix if cheap (frontend only).
dolho commentedon Oct 20, 2026
/claim
github-actions commentedon Oct 20, 2026
Claimed by @dolho. Label
status-in-progressadded.Next steps:
feature/3584-<short-slug>Fixes #3584Merge pull request #3842 from Abilityai/fix/3584-public-link-expiry
fix(public-links): the Edit dialog keeps the expiry it was given, and…