[zanata-bugs] [Bug 835776] Uploading the same document via REST and GUI results in two different documents stored.

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 27 05:57:04 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=835776

Carlos Munoz <camunoz at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
     Target Release|---                         |1.6.1
           Assignee|runab at redhat.com            |camunoz at redhat.com
              Flags|                            |technical_note?

--- Comment #1 from Carlos Munoz <camunoz at redhat.com> ---

    Technical note added. If any revisions are required, please edit the
"Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content
Services team.

    New Contents:
Cause
Uploading the a document via the REST API and then attempting to upload the
same document via the GUI providing the same path with the addition of a
leading slash ('/').

Consequence
Zanata uploads two documents, one for a path with a leading slash and another
with no slash.

Fix
The GUI now strips all leading slashes form the provided path when uploading.

Result
Uploading the same document from the GUI and REST should result in a single
document in Zanata even if the GUI provided path has more a leading slash.

-- 
You are receiving this mail because:
You are on the CC list for the bug.




More information about the zanata-bugs mailing list