Shared Edits 플러그인이 500 오류를 발생시키고 데이터가 손실될 수 있음

이 플러그인은 현재 500 오류를 발생시키고 데이터를 잃을 수 있습니다. 이러한 문제가 발생한 후 플러그인을 비활성화했습니다. 지금은 더 이상 보고할 사항이 없습니다. 다만, 활성화된 후에는 비활성화할 수 없었습니다.

I don’t think it has had a refresh after the extensive composer updates over the past year.

Personally, I’d love to see it get some love as it would be very nice to stay in Discourse for collaborative editing.

1개의 좋아요

Does it also give errors and lose data when you are in the markdown editor, or is it just in the richtext editor?

There are a handful of plugins that will not work in the richtext editor, and this appears to be one of them.

Edit: I just installed it to try it out and am not able to repro, even using the richtext editor. I was not attempting to edit together with another user, but I was able to enable shared edits and edit the post, and see the changes appearing in real time. What are the repro steps to getting 500 errors and losing data?

1개의 좋아요

The OT library we use is pretty rough, it usually works fine but sometimes when documents get long there are pathological cases.

The plan is to shift to a CRDT based implementation, though I do not have a timeline yet.

3개의 좋아요

Shared Edits의 미래를 궁금해하시는 분들을 위해, 진행 중인 PR을 여기에 공유합니다:

이 PR은 OP의 문제와 관련된 다른 문제들을 해결하지만, 변경 사항이 매우 방대하여 병합까지 시간이 좀 걸릴 것입니다.

7개의 좋아요

@sam님, 감사합니다. 안전한 환경에서 더 큰 텍스트로 이 기능을 테스트해 보겠습니다. 사실 대량의 텍스트가 사라지는 문제가 바로 이 플러그인을 중단했던 이유였기 때문에, 다시 돌아올 수 있게 되어 기쁩니다.

아직 문제는 피하기 위해 HedgeDoc을 사용하고 있지만, 두 커서가 같은 위치에 있을 때 편집이 불안정해지는 문제가 있습니다. 특히 다른 사람이 무언가를 시도하고 있을 때 레이스 컨디션이 발생하곤 합니다. 혹시 여러분이 직접 작성한 코드에서 이 문제를 마주치실 수 있으니 참고해 주십시오.

(휴가 중이라 당장 테스트를 할 수 없을 수 있습니다.)

3개의 좋아요