You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Krzysztof Podejma <kp...@gmail.com> on 2007/05/18 17:32:43 UTC
open uploaded files
Hello,
In viewprofile in Party Manager there is form with list of uploaded files.
Can you tell me how to open uploaded file that is not an image?
Regards
Krzysztof Podejma
Re: open uploaded files
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi,
I guess to work you must have something in the server able to read that
format (Mime type) ...
I'm not sure how all this works. I uploaded a zip file chosing "zip
compress format" or something like that but was unable to "view" it. So
I tried to edit it and change its Mime Type Id but I got
The Following Errors Occurred:
ERROR: Could not complete the Update Party Associated Content
[file:/D:/WorkspaceNew/ofbizRun/applications/party/script/org/ofbiz/part
y/party/PartySimpleEvents.xml#updatePartyContent] process [problem
invoking the [updatePartyContent] service with the map named
[partyContentMap] containing [{locale=en, partyId=admin,
uploadedFile=org.ofbiz.entity.util.ByteWrapper@1ae37b5,
_uploadedFile_fileName=,
userLogin=[GenericEntity:UserLogin][createdStamp,2007-03-31
09:42:52.109(java.sql.Timestamp)][createdTxStamp,2007-03-31
09:42:45.687(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec1
30880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,n
ull()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][las
tLocale,en(java.lang.String)][lastUpdatedStamp,2007-05-10
13:17:35.255(java.sql.Timestamp)][lastUpdatedTxStamp,2007-05-10
13:17:35.255(java.sql.Timestamp)][partyId,admin(java.lang.String)][passw
ordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.la
ng.String)], contentId=10000,
_uploadedFile_contentType=application/x-zip-compressed}]: The following
required parameter is missing:
[updatePartyContent.contentPurposeEnumId]]
At this point, I have no more time to put in that, sorry...
Jacques
----- Message d'origine -----
De : "Krzysztof Podejma" <kp...@gmail.com>
À : <us...@ofbiz.apache.org>
Envoyé : vendredi 18 mai 2007 17:32
Objet : open uploaded files
> Hello,
> In viewprofile in Party Manager there is form with list of uploaded
files.
> Can you tell me how to open uploaded file that is not an image?
>
> Regards
> Krzysztof Podejma
>