bugGNU Health - Bugs: bug #34412, Invalid attribute tabpos for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34412: Invalid attribute tabpos for element notebook

Submitter:  Mario Puntin <mariomop>
Submitted:  Tue 27 Sep 2011 10:23:34 PM UTC
   
 
Category:  Tryton Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  cedk
Open/Closed:  Closed Release:  None
Module:  Component:  None

Sat 15 Oct 2011 04:15:23 PM UTC, comment #3: 

Fixed with rev 7160b88bc8c4

Cédric Krier <cedk>
Wed 28 Sep 2011 12:28:39 PM UTC, comment #2: 

tabpos is only removed in trunk
So it is still working on 2.0 series.
So I postpone the bugs, until Health migrate to the future 2.2 series.

Cédric Krier <cedk>
Tue 27 Sep 2011 11:07:55 PM UTC, comment #1: 

Hi Mario

Yes. Tabpos is deprecated. In Tryton versions >  2.0.x is no longer used.

We need to use Tryton v. 2.0.x (stable) for now.

This is related to Tryton issue 2135
 https://bugs.tryton.org/roundup/issue2135


Thanks !
Luis

Luis Falcon <meanmicio>
Group administrator
Tue 27 Sep 2011 10:23:34 PM UTC, original submission:  

Using Ubuntu 9.10, Tryton 2.1.0, GNU Health 1.3.3

When I tried to install Health in new database, the system complained about this invalid attribute, "tabpos".
Instalation failed.


[Tue Sep 27 18:48:16 2011] INFO:modules:health:init gnuhealth.hospital.bed
[Tue Sep 27 18:48:16 2011] INFO:modules:health:loading health_view.xml
[Tue Sep 27 18:48:21 2011] ERROR:ir:Invalid xml view:
<string>:29:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute tabpos for element notebook
<form string="patient">
<!-- Main Info -->
                                                <group string="Main Info" id="patient_main_info">
                                                        <group col="6" id="patient_main_info1">
                                                                <label name="name"/>
                                                                <field name="name"/>
                                                                <label name="identification_code"/>
                                                                <field name="identification_code"/>
                                                                <label name="sex"/>
                                                                <field name="sex"/>
                                                        </group>
                                                        <newline/>
                                                        <group col="6" id="patient_main_info2">
                                                                <label name="dob"/>
                                                                <field name="dob"/>
                                                                <label name="age"/>
                                                                <field name="age"/>
                                                                <newline/>
                                                                <separator colspan="4" string="Patient Allergies and Critical Information" id="patient_critical_information"/>
                                                                <newline/>
                                                                <field colspan="4" name="critical_info"/>
                                                        </group>
                                                </group>

                                                <group string="Picture" id="patient_picture">
                                                        <field name="photo" img_width="200" img_height="200" height="200" width="200" widget="image"/>
                                                </group>
                                                <newline/>
                                                <notebook tabpos="up">
                                                        <page string="General Info" id="general_info">
                                                                <notebook>

                                                                        <page string="Main" id="main_info_page">

                                                                                <group col="6" colspan="4" string="Patient General Information" id="general_info">
                                                                                        <label name="blood_type"/>
                                                                                        <field name="blood_type"/>
                                                                                        <label name="rh"/>
                                                                                        <field name="rh"/>
                                                                                        <label name="ethnic_group"/>
                                                                                        <field name="ethnic_group"/>
                                                                                        <newline/>
                                                                                        <label name="family"/>
                                                                                        <field name="family"/>

                                                                                        <label name="current_address"/>
                                                                                        <field name="current_address"/>

                                                                                        <label name="marital_status"/>
                                                                                        <field name="marital_status"/>
                                                                                        <newline/>
                                                                                        <label name="primary_care_doctor"/>
                                                                                        <field name="primary_care_doctor"/>
                                                                                        <label name="current_insurance"/>
                                                                                        <field name="current_insurance"/>

                                                                                </group>

                                                                        </page>

                                                                        <page string="Misc" id="misc_info_page">
                                                                                <separator colspan="4" string="Patient Extra Information" id="separator_misc"/>
                                                                                <newline/>
                                                                                <field name="general_info" colspan="4"/>
                                                                                <newline/>
                                                                                <group colspan="4" col="6" id="misc_info_group">
                                                                                        <label name="deceased"/>
                                                                                        <field name="deceased"/>
                                                                                        <label name="dod"/>
                                                                                        <field name="dod"/>
                                                                                        <label name="cod"/>
                                                                                        <field name="cod"/>
                                                                                </group>
                                                                        </page>

                                                                </notebook>
                                                        </page>

<!-- Patient Medication and Vaccinations -->

                                                <page string="Medication" id="patient_medication">
                                                        <field name="medications"/>
                                                        <field name="vaccinations"/>
                                                    </page>

<!-- Patient Diseases -->
                                                <page string="Diseases" id="patient_diseases">
                                                        <field name="diseases" colspan="4"/>
                                                    </page>
                                                   
<!-- Patient Evaluations NOW as a shortcut
                                                <page string="Evaluations" id="patient_evaluations">
                                                        <field name="evaluation_ids" colspan="4"/>
                                                    </page>
-->

                                                </notebook>
                                        </form>
[Tue Sep 27 18:48:21 2011] ERROR:convert:Error while parsing xml file:
In tag record: model ir.ui.view with id gnuhealth_patient_view_form.

 

Mario Puntin <mariomop>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cedk (Posted a comment)
  • -email is unavailable- added by meanmicio (Posted a comment)
  • -email is unavailable- added by mariomop (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-15 cedk StatusPostponed Fixed
        Open/ClosedOpen Closed
    2011-09-28 cedk StatusConfirmed Postponed
    2011-09-27 meanmicio CategoryNone Tryton
        StatusNone Confirmed
        Assigned toNone cedk

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code