Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contacts: Rafal Korytkowski, Darius Jazayeri, Piotr Bryk

Table of Contents
maxLevel3
outlinetrue
indent20px
stylenone
printablefalse

Overview

The Metadata Sharing Module allows all kinds of metadata (concepts, htmlforms, locations, roles, programs, etc.) to be exchanged between different OpenMRS installations. It supports metadata defined in the core as well as in modules provided appropriate handlers are registered. Conflicts between local and incoming metadata can be identified and resolved. The module can be used both through an API and a web interface.

...

See release notes in JIRA.

1.1.9
  • Bug fixes
1.1.8
  • Bug fixes around sharing Concepts

...

  • Exporting/Importing Concepts and OpenmrsMetadata
  • Exporting/Importing HtmlForms given Importing HtmlForms given HTML Form Entry Module is installed  (see #Requirements)

Planned features:

Jira Issues
cacheoff
columnstype,key,votes,priority,summary,status
anonymoustrue
urlhttps://tickets.openmrs.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+META+AND+issuetype+in+%28%22New+Feature%22%2C+Task%2C+subTaskIssueTypes%28%29%2C+Sub-task%29+AND+resolution+%3D+Unresolved+ORDER+BY+votes+DESC%2C+priority+DESC%2C+key+DESC&tempMax=1000

Info

If you would like to request a new feature which is not listed above, please create an issue in JIRA. Click here (You need to be logged in with your OpenMRS ID).

...

  1. MySQL error ‘Packet too large’ – set MySQL variable max_allowed_packet=16M details
  2. Import fails with ConcurrentModificationException and the following stack trace:

    Code Block
    languagenone
    SEVERE: Servlet.service() for servlet openmrs threw exception
    java.util.ConcurrentModificationException
    	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
    	at java.util.HashMap$KeyIterator.next(HashMap.java:828)
    	at org.openmrs.api.handler.ConceptNameSaveHandler.handle(ConceptNameSaveHandler.java:55)
    	at org.openmrs.api.handler.ConceptNameSaveHandler.handle(ConceptNameSaveHandler.java:37)

    It is a known bug in OpenMRS (TRUNK-2428). You need to update OpenMRS and use one of recommended versions

    

    (see #Requirements).

  3. Import fails with Column 'concept_name_id' cannot be null:

    Code Block
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'concept_name_id' cannot be null
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.Util.getInstance(Util.java:381)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)
    	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
    	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
    	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2554)
    	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1761)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2046)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1964)
    	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1949)
    	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
    	at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:73)
    	at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:33)
    	... 121 more
    
    	at org.openmrs.module.metadatasharing.reflection.OpenmrsClassScanner.invokeServiceSaveItem(OpenmrsClassScanner.java:265)
    	at org.openmrs.module.metadatasharing.reflection.OpenmrsClassScanner.serviceSaveItem(OpenmrsClassScanner.java:174)
    	at org.openmrs.module.metadatasharing.handler.impl.OpenmrsObjectHandler.saveItem(OpenmrsObjectHandler.java:107)
    	... 53 more

    You need to upgrade OpenMRS to 1.9.1 rev:28634, 1.8.4 rev:28650, 1.7.4 rev:28651, 1.6.6 rev:28652. See TRUNK-3626.

  4. Other known issues which have not been fixed yet:

    Jira Issues
    cacheoff
    columnstype,key,votes,priority,summary,status
    anonymoustrue
    urlhttps://tickets.openmrs.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+META+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+votes+DESC%2C+priority+DESC%2C+key+DESC&tempMax=1000

    Info

    If you found a bug which is not listed above, please report it in JIRA. Click here (You need to be logged in with your OpenMRS ID).

...