•  
      request #5728 Text field values are disappearing
    Infos
    #5728
    Stéphane Bégaudeau (begaudeaus)
    2014-06-12 17:24
    2013-12-11 11:51
    5840
    Details
    Text field values are disappearing
    I have installed an integration version of Tuleap(version 6.7.99.32) when I first saw this issue. I have upgraded my version of Tuleap to 6.7.99.41 (the same one as Tuleap.net) and the issue is still there.

    I have created a brand new project with two trackers. The first tracker is using the "Bugs" predefined configuration, the second one is using the "Tasks" predefined configuration.

    If I create a new task or a new bug and if I enter some text in the text field named "Original Submission", the content of the field will disappear when saved (9 times out of 10). If my content is saved and if I try to edit anything else, the content of the field will disappear. If my content is not saved and if I try to edit the field the content of this field will not be saved.

    All the other fields are working. I tried with a brand new text field in the same trackers and the issue remains.
    Trackers
    6.8
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2014-06-12
    Attachments
    Empty
    References
    Referenced by request #5728

    Follow-ups

    User avatar
    As the issue is old and no new feedback appears, I will close this request.
    Feel free to reopen it if you still encounter this issue.

    • Status changed from Acknowledged to Closed
    • Close date set to 2014-06-12
    User avatar
    dylan bowden (dylan)2013-12-12 14:25
    Thanks,
    we can tell from the curl that you should have the value "Some text" in the textarea. It's not a cache issue because the problem is across multiple browsers and the curl looks ok. We will need to try a different approach but I'm not sure which.
    User avatar
    I am trying to update a field named "description" with the text "Some text". There are no errors in the firebug console.

    The Request used to update the artifact:
    curl 'https://tuleapappli.obeo.fr/plugins/tracker/?aid=12&func=artifact-update' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' -H 'Connection: keep-alive' -H 'Cookie: PHPSESSID=kkbgriccks0kteisrvitd5n905; TULEAP_session_hash=37b8af22be8a44c6e94ee8717df79635' -H 'Host: tuleapappli.obeo.fr' -H 'Referer: https://tuleapappli.obeo.fr/plugins/tracker/?aid=12&func=edit' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0' -H 'Content-Type: multipart/form-data; boundary=---------------------------94721067714807' --data-binary $'Content-Type: multipart/form-data; boundary=---------------------------94721067714807\r\nContent-Length: 2778\r\n\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="max_file_size"\r\n\r\n67108864\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="tracker_id"\r\n\r\n24\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="tracker_id"\r\n\r\n24\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[809]"\r\n\r\nCreate the functional specification\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[810]_body_format"\r\n\r\ntext\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[810][format]"\r\n\r\ntext\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[810][content]"\r\n\r\nSome text\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[814]"\r\n\r\n750\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[815]"\r\n\r\n737\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[824]"\r\n\r\n2013-09-03\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[825]"\r\n\r\n100\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[826]"\r\n\r\n2013-09-20\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[832]"\r\n\r\n107\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[828]"\r\n\r\n2013-09-20\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[829]"\r\n\r\n749\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[830][][description]"\r\n\r\n\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact[830][][file]"; filename=""\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="submit_and_stay"\r\n\r\nSubmit and stay\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="tracker_artifact_followup_comment_body_format_25"\r\n\r\ntext\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="tracker_artifact_followup_comment_body_format_26"\r\n\r\ntext\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="tracker_artifact_followup_comment_body_format_27"\r\n\r\ntext\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="comment_formatnew"\r\n\r\ntext\r\n-----------------------------94721067714807\r\nContent-Disposition: form-data; name="artifact_followup_comment"\r\n\r\n\r\n-----------------------------94721067714807--\r\n'
    User avatar
    dylan bowden (dylan)2013-12-12 12:35
    ok, I still can't get the same result. Could you do me a favour and enable firebug? I would like to know if there any errors in the console in the process (you would need to go to the console tab and click "persist").
    If there's nothing there, would it be possible to have the request that is sent? (firebug can provide that too: "net" tab, click "persist", submit the artifact, right-click on row that corresponds to request and "export as curl")

    Many thanks
    User avatar
    dylan bowden (dylan)2013-12-12 11:10
    <p>
    Yes, anything that is merged in master is included in the latest dev build of Tuleap. Maybe this is a permission related error- although this wouldn&#39;t explain the apparent randomness of it.</p>
    User avatar
    dylan bowden (dylan)2013-12-12 09:52
    I have also tried to reproduce this issue without any success. In addition to your browser could you also say if you are having problems with php51 or php53 build (although I'm guessing the latter)?
    User avatar
    This problem occurs with a text field in text and in html. There was a workflow, but I also tried after having deactivated it and I tried after having removed it also.
    User avatar
    We thought this has been fixed (see request #5700).
    Do you save your text field in text or html? Is there a specific workflow?

    • Status changed from New to Acknowledged
    User avatar
    Since the content of "Original submission" in this artifact has not disappear, the issue does not occur on Tuleap.net even if we have the same version of Tuleap (6.7.99.41).