Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3144

When there are no given project in my url, it select an invalid project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 32
    • Component/s: Technical / Transverse

      Description

      account: aescaffre
      no param
      auto selected

      https://connect.nuxeo.com/nuxeo/site/studio/ide?ticket=ST-8834-YktZjHGOh2nWO9am3qLs-cas01.example.org&project=simpleValidationWorkflow

      > select a valid project
      > select the last updated project ?

      Currently, if there's a project in the url, the client load simultaneously the context and the project. If there's no project in the url, the client waits for the context and choose a project in the list.

      This could be managed by the server side. The client could call another operation named getDefaultProject which load a project for the user:

      • if the user is member of Nuxeo, it could load its SANDBOX
      • otherwise, it gets the customer's projects and load the last edited.
        in both case, it checks the project and fallback to another project if it's invalid.

      The second change will be to add an order to the project listing request (order by modified date desc)

      It would ne nice to update the location of the page and integrate the project parameter: I think it requires a reload but not sure

      can now be done in Chrome, Safari, FF4+, and IE10pp4+
      add a check on pushState method existence, reload is not available
      window.history.pushState('page2', 'Title', '/page2.php');

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nchapurlat Nicolas Chapurlat
                Reporter:
                nchapurlat Nicolas Chapurlat
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: