Skip to content

Unable to add more days to routine #2266

@jmccaull

Description

@jmccaull

Priority/Impact

Medium (affects some functionality)

Description

I attempted to restore routines from a psql backup following the docs but had some issues, I think with table constraints. Eventually I just restored the manager tables and updated the sequence numbers then was able to see my routine and template. When editing these, I was getting errors from the webui with red text that look like regexes. I was able to duplicate the routine and then edit it further but I am not able to add new days, they are persisted in the edit page, but not showing in the view page. I further tried to duplicate the copy but this now causes the last day from the original to not be displayed and I am still not able to add any more days.

Inspecting the traffic it seems /api/v2/routine/16/date-sequence-display/ does not have the missing days but /api/v2/routine/16/structure/ does.

I've tried running makemigrations and migrate in the web container which looked successful but see no changes.

Any idea how I can fix this without recreating the routine from scratch?

Server version

2.5.0a2+git3cc13ad

Mobile app version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions