Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ocis] No SSE event to create odt file #8950

Open
ScharfViktor opened this issue Apr 24, 2024 · 4 comments
Open

[ocis] No SSE event to create odt file #8950

ScharfViktor opened this issue Apr 24, 2024 · 4 comments
Labels

Comments

@ScharfViktor
Copy link
Contributor

Version 5.1.0-prealpha+9c51bfe98
Web client version 9.0.0-alpha.5

ocis started using docker-compose https://github.com/owncloud/web/blob/master/docker-compose.yml

Steps:

  • admin creates space and adds einstein to the space
  • einstein opens space and wait
  • admin creates new .odt file inside of the space

Expected: einstein see .odt file without reload the page
Actual: no file

Screen.Recording.2024-04-24.at.13.11.08.mov

@kobergj @AlexAndBear I guess it's backend issue? if I'm wrong please move it to web repo

@AlexAndBear
Copy link
Contributor

I guess this is a backend issue file-Touch event should fire

@ScharfViktor
Copy link
Contributor Author

ScharfViktor commented Apr 24, 2024

a couple more questions about SSE:

  1. a set of events such as editing the contents of a file, copying a file, etc. are called as postprocessing-finished . is it okay?
Screenshot 2024-04-24 at 14 20 43
  1. I see that we have event for changing file content but we missed event for restoring version of the file:
Screen.Recording.2024-04-24.at.14.15.45.mov

@kobergj
Copy link
Collaborator

kobergj commented Apr 24, 2024

I can confirm this is a backend issue. Specifically with wopi and the way it is implemented. In a nutshell the problem is that wopi only initializes the upload, but never finishes it. This works because of a loophole in decomposedfs. I need to check how old and new wopi implementations behave so we can tackle this.

Once you enter some content a "postprocessing-finished" event will be fired.

a set of events such as editing the contents of a file, copying a file, etc. are called as postprocessing-finished . is it okay?

Yes. The server cannot differentiate these actions, they are all the same to it.

I see that we have event for changing file content but we missed event for restoring version of the file:

Has never been in any ticket. Not sure if this was intentional or just forgotten. @micbar @tbsbdr should we add a sse for "item restored from trashbin"?

@AlexAndBear
Copy link
Contributor

For "item restored from trash" we have an event but not for versions.

Please keep in mind that we don't want to go into full detail yet with SSE and don't need to catch every case.

@ScharfViktor ScharfViktor changed the title No SSE event to create odt file [ocis] No SSE event to create odt file May 6, 2024
@tbsbdr tbsbdr added the Priority:p3-medium Normal priority label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Qualification
Development

No branches or pull requests

4 participants