Content
View differences
Updated by Alexander Stock over 2 years ago
### Steps to reproduce
1. Login as a user with permissions to manage Wiki pages
2. Go to any wiki page
3. Click on Edit
4. Add code under some text using "code snippet" and save it as "shell"
### What is the buggy behavior?
* All the content is gone and there is "undefined" message/text instead
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/84543/content">
###
### What is the expected behavior?
1. Content should be saved and displayed
### Important note
_I was not able to reproduce this. However, different clients reported this issue in different helpdesk tickets._
### **Logs**
We asked one of the clients to provide some logs and here is their answer:
> The browser console empties after sending the HTTP POST triggered by the "Save" button, so that doesn't show so much. However, I do have a screenshot of the following POST. (Screenshot 1) This POST shows that page \[text\] = "undefined" (Screenshot 2)
> Screenshot 3 shows how "undefined" looks after saving.
Another user mentioned that he had a session time out that day. However, he was not sure whether he was currently editing that wiki page when this happened.
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/84544/content"> <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/84545/content"> <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/84546/content">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
1. Login as a user with permissions to manage Wiki pages
2. Go to any wiki page
3. Click on Edit
4. Add code under some text using "code snippet" and save it as "shell"
### What is the buggy behavior?
* All the content is gone and there is "undefined" message/text instead
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/84543/content">
###
### What is the expected behavior?
1. Content should be saved and displayed
### Important note
_I was not able to reproduce this. However, different clients reported this issue in different helpdesk tickets._
### **Logs**
We asked one of the clients to provide some logs and here is their answer:
> The browser console empties after sending the HTTP POST triggered by the "Save" button, so that doesn't show so much. However, I do have a screenshot of the following POST. (Screenshot 1) This POST shows that page \[text\] = "undefined" (Screenshot 2)
> Screenshot 3 shows how "undefined" looks after saving.
Another user mentioned that he had a session time out that day. However, he was not sure whether he was currently editing that wiki page when this happened.
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/84544/content"> <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/84545/content"> <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/84546/content">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_