Giter Club home page Giter Club logo

Comments (11)

kulmann avatar kulmann commented on August 25, 2024 2

I see this error in the browser log:

Screenshot from 2024-06-28 13-03-16

maybe this is for app query param: ?app=Collabora. just a guess because url with ?app=Collabora works but others don't

I'll fix this! Was able to reproduce it locally.

from web.

ScharfViktor avatar ScharfViktor commented on August 25, 2024 1

#11103 was merged without [full-ci] tag in the PR title so we we missed this regression

from web.

kulmann avatar kulmann commented on August 25, 2024 1

@saw-jan I fixed the bug in the web ui, but the tests still need to be adjusted afaict. Could you take over?

from web.

saw-jan avatar saw-jan commented on August 25, 2024 1

@saw-jan I fixed the bug in the web ui, but the tests still need to be adjusted afaict. Could you take over?

Okey, will push a PR with adjustments

from web.

kulmann avatar kulmann commented on August 25, 2024 1

Thank you @saw-jan ❤️

from web.

saw-jan avatar saw-jan commented on August 25, 2024

Hmm, the change was made in PR #11103.
now we have /external-onlyoffice/ and /external-collabora/ url paths instead of /external/. this breaks the tests.
This can be fixed in the test.

But we have test scenario for url navigation which navigates to:
/external/open-with-web/?appName=${editorName}&fileId=${fileId}
from desktop client: /external?contextRouteName=files-spaces-personal&fileId=${fileId}
web cannot load this url:

Screenshot from 2024-06-28 12-23-17

/external/open-with-web/?appName=${editorName}&fileId=${fileId}
/external?contextRouteName=files-spaces-personal&fileId=${fileId}

should this url work?

CC @ScharfViktor @kulmann

from web.

saw-jan avatar saw-jan commented on August 25, 2024

These urls doesn't work: ❌

  • desktop-client: /external?contextRouteName=files-spaces-personal&fileId=${fileId}
  • /external/open-with-web/?appName=${editorName}&fileId=${fileId}

but this does: ✔️

  • /external?app=${editorName}&contextRouteName=files-spaces-personal&fileId=${fileId}

from web.

kulmann avatar kulmann commented on August 25, 2024

Ah dang, everything correct here, I forgot [full-ci] on #11103 - sorry for the trouble.

#11103 brought new URLs for the specific app provider apps (e.g. /external-collabora/ instead of /external/...?app=Collabora for Collabora). However, I built a redirect page so that the old URLs with only /external/ in the path continue to work and do a redirect to the new URLs. That also includes the URLs that the backend generates on the endpoint /external/open-with-web.

My assumption is that the e2e tests need to learn to wait until after the redirect has happened. During the redirect the page with One moment please... is visible.

Should I take care of this myself? If yes, please assign me to this issue.

from web.

saw-jan avatar saw-jan commented on August 25, 2024

During the redirect the page with One moment please... is visible.

how long does the redirect takes? because I couldn't see the online office even waiting for some time. so I was wondering if redirect was working

from web.

saw-jan avatar saw-jan commented on August 25, 2024

Should I take care of this myself? If yes, please assign me to this issue.

I will take care of it if it's only the test code adjustments

from web.

saw-jan avatar saw-jan commented on August 25, 2024

I see this error in the browser log:
Screenshot from 2024-06-28 13-03-16

maybe this is for app query param: ?app=Collabora. just a guess because url with ?app=Collabora works but others don't

from web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.