SuffolkLITLab / docassemble-AssemblyLine

Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. Swap out branding and pre-built questions to meet your needs.
https://suffolklitlab.org/docassemble-AssemblyLine-documentation/
MIT License
41 stars 5 forks source link

In some instances, the display title of a saved session will be different than what you get when you click to rename it #821

Open nonprofittechy opened 8 months ago

nonprofittechy commented 8 months ago

image

nonprofittechy commented 8 months ago

It's somehow doing something different than it does to display the title on the previous screen, in session_list_html.

This code is likely what differs:

        url_ask_rename = url_ask(
            [
                {"undefine": ["al_sessions_snapshot_new_label"]},
                {
                    "action": rename_action,
                    "arguments": {
                        "session": answer.get("key"),
                        "filename": answer.get("filename"),
                        "title": nice_interview_subtitle(answer),
                    },
                },
            ]
        )
nonprofittechy commented 8 months ago

Similar difference appears in the "copy as answer set" functionality.