bugGNU Health - Bugs: bug #63533, Model 'gnuhealth.pol' is missing a...

 
 

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

bug #63533: Model 'gnuhealth.pol' is missing a default access

Submitter:  Mathias Behrle <yangoon>
Submitted:  Thu 15 Dec 2022 10:55:07 AM UTC
   
 
Category:  Functionality Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  meanmicio
Open/Closed:  Closed Release:  4.0.0
Module:  health Component:  Hospital Management

Fri 16 Dec 2022 07:57:35 PM UTC, comment #3: 

Thanks, Mathias!

Fixed on https://hg.savannah.gnu.org/hgweb/health/rev/80a402aa5108

Ready for test.

@Sergi: We'll go through deeper tests - esp in the core package -  in the upcoming days.

RC1 is scheduled for Dec 25 :)

Bests

Luis Falcon <meanmicio>
Group administrator
Thu 15 Dec 2022 05:24:32 PM UTC, comment #2: 


comment #1:

> I guess you are running the tests with failfast, as if you run the test suite there are other tests that are failing.
>
> Same happens with other modules (but they not raise until the health tests are fixed)
>
> For me all the tests of all modules should be fixed.


Of course. That's why I said "Running the Tryton default test suite against some gnuhealth modules"...

Mathias Behrle <yangoon>
Thu 15 Dec 2022 05:11:59 PM UTC, comment #1: 

I guess you are running the tests with failfast, as if you run the test suite there are other tests that are failing.

Same happens with other modules (but they not raise until the health tests are fixed)

For me all the tests of all modules should be fixed.


Sergi Almacellas Abellana <pokoli>
Thu 15 Dec 2022 10:55:07 AM UTC, original submission:  

Running the Tryton default test suite against some gnuhealth modules fails with


======================================================================
FAIL: test_model_access (trytond.modules.health_vara.tests.test_health_vara.HealthVaraTestCase)
Test missing default model access
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mathiasb/bin/tryton/tox_workbench_6.0/m9s/ci_with_postgres/health_vara/.tox/py310-sqlite/lib/python3.10/site-packages/trytond/tests/test_tryton.py", line 204, in wrapper
    result = func(args, *kwargs)
  File "/home/mathiasb/bin/tryton/tox_workbench_6.0/m9s/ci_with_postgres/health_vara/.tox/py310-sqlite/lib/python3.10/site-packages/trytond/tests/test_tryton.py", line 569, in test_model_access
    self.assertGreaterEqual(no_groups, with_groups,
AssertionError: {'gnuhealth.vaccination', 'ir.model.button.click', 'company.employee', 'currency.currency', 'currency.cron', 'party.category', 'gnuhealth.healthprofessional', 'gnuhealth.insurance.plan', 'gnuhealth.drug.route', 'gnuhealth.hospital.ward', 'gnuhealth.family', 'party.address.subdivision_type', 'ir.ui.view_tree_state', 'gnuhealth.prescription.order', 'gnuhealth.pathology.category', 'ir.action.wizard', 'party.configuration', 'ir.action.act_window.view', 'product.identifier', 'gnuhealth.hospital.building', 'ir.trigger', 'ir.email', 'ir.model.button.rule', 'gnuhealth.specialty', 'ir.ui.view', 'gnuhealth.prescription.line', 'ir.queue', 'ir.ui.menu', 'gnuhealth.insurance', 'product.product', 'ir.action.act_window.domain', 'gnuhealth.medication.dosage', 'gnuhealth.pathology', 'product.uom', 'gnuhealth.drug.form', 'gnuhealth.hospital.unit', 'ir.model.field', 'gnuhealth.operational_sector', 'gnuhealth.appointment', 'res.user', 'ir.rule', 'gnuhealth.procedure', 'ir.action.url', 'gnuhealth.directions', 'ir.translation', 'ir.action.report', 'ir.trigger.log', 'gnuhealth.family_member', 'ir.email.template', 'ir.action.act_window', 'currency.currency.rate', 'company.company', 'ir.rule.group', 'product.category', 'ir.cron', 'ir.lang', 'ir.module', 'gnuhealth.hospital.bed', 'gnuhealth.orthanc.patient', 'ir.module.dependency', 'gnuhealth.orthanc.study', 'gnuhealth.operational_area', 'party.address.format', 'gnuhealth.ethnicity', 'product.template', 'res.group', 'product.uom.category', 'gnuhealth.patient.disease', 'gnuhealth.medicament', 'ir.action', 'ir.model.button', 'ir.sequence.type', 'gnuhealth.medicament.category', 'gnuhealth.patient', 'gnuhealth.patient.medication', 'gnuhealth.sequences', 'ir.action.keyword', 'gnuhealth.patient.evaluation', 'gnuhealth.occupation', 'gnuhealth.hospital.or', 'ir.model.data', 'ir.model.access', 'ir.model', 'product.configuration', 'ir.message', 'ir.ui.icon', 'gnuhealth.dose.unit', 'gnuhealth.orthanc.config'} not greater than or equal to {'gnuhealth.vaccination', 'ir.model.button.click', 'company.employee', 'currency.currency', 'currency.cron', 'party.category', 'gnuhealth.healthprofessional', 'gnuhealth.insurance.plan', 'gnuhealth.drug.route', 'gnuhealth.hospital.ward', 'gnuhealth.family', 'party.address.subdivision_type', 'ir.ui.view_tree_state', 'gnuhealth.prescription.order', 'gnuhealth.pathology.category', 'ir.action.wizard', 'party.configuration', 'ir.action.act_window.view', 'gnuhealth.hospital.building', 'ir.trigger', 'gnuhealth.pol', 'ir.model.button.rule', 'gnuhealth.specialty', 'ir.ui.view', 'gnuhealth.prescription.line', 'ir.queue', 'ir.ui.menu', 'gnuhealth.insurance', 'ir.action.act_window.domain', 'gnuhealth.medication.dosage', 'gnuhealth.pathology', 'product.uom', 'gnuhealth.drug.form', 'gnuhealth.hospital.unit', 'ir.model.field', 'gnuhealth.operational_sector', 'gnuhealth.appointment', 'res.user', 'gnuhealth.procedure', 'ir.rule', 'ir.action.url', 'gnuhealth.directions', 'ir.translation', 'ir.action.report', 'ir.trigger.log', 'gnuhealth.family_member', 'ir.email.template', 'ir.action.act_window', 'company.company', 'ir.rule.group', 'product.category', 'ir.cron', 'ir.lang', 'ir.module', 'gnuhealth.hospital.bed', 'gnuhealth.orthanc.patient', 'ir.module.dependency', 'gnuhealth.orthanc.study', 'gnuhealth.operational_area', 'party.address.format', 'gnuhealth.ethnicity', 'product.template', 'res.group', 'product.uom.category', 'gnuhealth.patient.disease', 'gnuhealth.medicament', 'ir.action', 'ir.model.button', 'ir.sequence.type', 'gnuhealth.medicament.category', 'gnuhealth.patient', 'gnuhealth.patient.medication', 'gnuhealth.sequences', 'ir.action.keyword', 'gnuhealth.patient.evaluation', 'gnuhealth.occupation', 'gnuhealth.hospital.or', 'ir.model.access', 'ir.model', 'product.configuration', 'ir.message', 'ir.ui.icon', 'gnuhealth.dose.unit', 'gnuhealth.orthanc.config'} : Model "['gnuhealth.pol']" are missing a default access

'model', '=', 'gnuhealth.pol' has defined access permissions for admin and doctor, but no default access permissions.

Mathias Behrle <yangoon>

 

(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 meanmicio (Posted a comment)
  • -email is unavailable- added by pokoli (Posted a comment)
  • -email is unavailable- added by yangoon (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-19 meanmicio StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-12-16 meanmicio CategoryNone Functionality
        StatusNone Ready For Test
        Assigned toNone meanmicio
        ReleaseNone 4.0.0
    2022-12-15 pokoli ComponentNone Hospital Management

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code