Hi Pablo

There is a "feature" in the vb.net grid control used by the terminology
pane that means that a changed text in one of the data grid rows fails to
register as being changed until the row loses focus       Unfortunately the
save button does count as a focus control. The work around is to ensure
that you change the  terminology tab back to the details tab before saving
the translated archetype. Also adding another terminology row or clicking
on another row should trigger the changed data flag and force the save
dialog.

I did have a go at fixing this but it turns out to be a nontrivial problem.

Ian

Dr Ian McNicoll
Clinical modelling consultant Ocean Informatics
Mobile +44 (0) 775 209 7859
Skype imcnicoll

On 23 Jun 2012, at 16:30, pablo pazos <pazospablo at hotmail.com> wrote:

 Hi Peter,

I'm using 2.2.779 (and all my students used the same). I don't receive an
exception on the GUI (e.g. a dialog/alert windown).

Steps:

   1. open an ADL file (e.g.
   openEHR-EHR-EVALUATION.problem_diagnosis.v1.adl)
   2. add a new language (e.g. es-UY)
   3. change the current language to es-UY
   4. change the first term in the terminology tab
   5. click on "save" (the diskette button)
   6. you will see the * in the title bar (the * appears when a change is
   made but should disappear when I do the save, this doesn't happen)
   7. close the AE (it doesn't alert me of any unsaved changes)
   8. open the changed ADL in a text editor
   9. you'll see the new language added, but in the ontology part, the
   chaged text (translate to es-UY) doesn't appear.


Hope that helps.

-- 
Kind regards,
Ing. Pablo Pazos Guti?rrez
LinkedIn: http://uy.linkedin.com/in/pablopazosgutierrez
Blog: http://informatica-medica.blogspot.com/
Twitter: http://twitter.com/ppazos <http://twitter.com/ppazos>

> Subject: Re: Archetype Editor bug on save after translation
> From: peter.gummer at oceaninformatics.com
> Date: Sat, 23 Jun 2012 19:37:30 +1000
> To: openehr-technical at lists.openehr.org
>
> pablo pazos wrote:
>
> > Several students have experienced problems using the Archetype Editor.
When they add a new language to translate an archetype, then save the
changes, the changes are not saved.
> >
> > Anyone else is experiencing this problem?
>
>
> Which version of Archetype Editor are they using Pablo?
>
> There's a known problem that was introduced in the version 2.2.601 beta
release. The problem still exists in the latest 2.2.779 beta release.
Editing the comments field could cause an InvalidCastException if the user
answered yes to the question whether to replace translations. The problem
has been fixed, so if this is the problem that you're running into we could
do another beta release with the fix.
>
> Are you seeing this, or a different problem?
>
> Peter
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical at lists.openehr.org
>
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

_______________________________________________
openEHR-technical mailing list
openEHR-technical at lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20120623/6b1286f1/attachment.html>

Reply via email to