Fixed in: https://tickets.openmrs.org/browse/TRUNK-3353


On Tue, May 15, 2012 at 8:41 PM, Daniel Kayiwa <kayiwadan...@gmail.com>wrote:

>
> I have just confirmed that it is a bug in 1.9
>
>
> On Tue, May 15, 2012 at 7:55 PM, Darius Jazayeri 
> <djazayeri+...@gmail.com>wrote:
>
>> Sounds like it could be a bug introduced when we started automatically
>> doing validation earlier, as part of 1.9.
>>
>> Daniel is looking into this now, and will report shortly on whether it's
>> a 1.9 blocker or not.
>>
>> -Darius
>>
>>
>> On Tue, May 15, 2012 at 9:40 AM, Mark Goodrich <mgoodr...@pih.org> wrote:
>>
>>> Sounds like a bug… Do we know if this is specific to images, or specific
>>> to this UI?  In the MDR-TB module we have a custom UI for recording sputum
>>> tests which includes the ability to upload a PDF and store it as a complex
>>> obs.  I haven’t had problems uploading PDF files using it.  However, this
>>> is only in OpenMRS 1.6, and I know validation has been reworked since then.
>>> ****
>>>
>>> ** **
>>>
>>> Mark****
>>>
>>> ** **
>>>
>>> *From:* dev@openmrs.org [mailto:dev@openmrs.org] *On Behalf Of *Suranga
>>> Kasthurirathne
>>> *Sent:* Tuesday, May 15, 2012 12:01 PM
>>> *To:* openmrs-deve...@listserv.iupui.edu
>>> *Subject:* Re: [OPENMRS-DEV] Regarding error while creating an
>>> Observation, using 'Complex' concept data-type****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> Hi Jibesh,****
>>>
>>> ** **
>>>
>>> I worked with complex handlers over the last summer, and faced the same
>>> issue.****
>>>
>>> ** **
>>>
>>> If you go to the demo.openmrs.org site and try to re-create it, you
>>> will find that it works just fine, and the image gets uploaded.****
>>>
>>> ** **
>>>
>>> Unfortunately, this problem occurs due to the ObsValidator.  Somehow,
>>> Spring calls the obs validator before the picture has finished uploading
>>> into the system, and therefore assumes that we have not uploaded one.***
>>> *
>>>
>>> ** **
>>>
>>> The quick (and ugly)  fix for this is to go to the obs validator, and
>>> comment out the lines that tests if the uploaded image is null.****
>>>
>>> ** **
>>>
>>> For a long term fix to this problem, you will need to open a ticket :-)*
>>> ***
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> Best regards,****
>>>
>>> Suranga****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> On Tue, May 15, 2012 at 9:06 PM, Jibesh Patra <jib...@openmrs.org>
>>> wrote:****
>>>
>>> Hi devs,
>>> I am trying to follow the instructions given here [0] & getting error
>>> while trying to create a new Observation for a patient.
>>> As per the instruction, I have created a concept of data-type complex &
>>> handler as ImageHandler. Now, while creating new observation for a patient,
>>> in the 'Complex Value' field I am browsing and selecting an image. On
>>> saving the observation I am greeted with error statement reading "Please
>>> fix all errors and try again". I am attaching a screenshot of the mentioned
>>> error. Can someone please have a look and help me?
>>>
>>> [0]
>>> https://wiki.openmrs.org/display/docs/Creating+Complex+Observations+and+Concepts
>>>
>>> Thank you,
>>> --
>>> Jibesh Patra****
>>> ------------------------------
>>>
>>> Click here to 
>>> unsubscribe<lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l>from 
>>> OpenMRS Developers' mailing list
>>> ****
>>>
>>>
>>>
>>> ****
>>>
>>> ** **
>>>
>>> --
>>> Best Regards,****
>>>
>>> ** **
>>>
>>> Suranga****
>>>
>>> ** **
>>> ------------------------------
>>>
>>> Click here to 
>>> unsubscribe<lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l>from 
>>> OpenMRS Developers' mailing list
>>> ****
>>> ------------------------------
>>> Click here to 
>>> unsubscribe<lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l>from 
>>> OpenMRS Developers' mailing list
>>>
>>
>> ------------------------------
>> Click here to 
>> unsubscribe<lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l>from 
>> OpenMRS Developers' mailing list
>>
>
>
>
> --
> If we keep uppermost in our minds the unkind and unjust acts of others, we
> shall find it impossible to love them as Christ has loved us; but if our
> thoughts dwell upon the wondrous love and pity of Christ for us, the same
> spirit will flow out to others.
>



-- 
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
lists...@listserv.iupui.edu with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l]

Reply via email to