Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

Gitlab will go into maintenance on Wednesday 6th December between 8:00am - 10:30am for applying a GitLab Security Release Update

  • minervaminerva
  • core
  • Issues
  • #461

problem with loading old maps

There is an issue with some old maps being loaded in the 12.0.0.

originally reported by @alberto.noronha

The summary of the problem after debugging:

In 12.0.0 we enforced reaction identifier to be unique within single map (in submap we can have duplicate of the identifier though). This looked like relatively safe fix because all supported format enforce unique identified across the map. However, CellDesigner can produce a file where reaction id is duplicated (no idea how it could happen - probably a copy paste issue).

I think we should keep the unique id in the map rule, so user wouldn't be able to upload invalid files. And for time being fix the old projects with SQL query:

update reaction_table r set  idreaction=concat(r.idreaction,'_',r.iddb) from (select idreaction, model_iddb from reaction_table group by idreaction, model_iddb having count(*)>1) t where r.idreaction=t.idreaction and r.model_iddb=t.model_iddb;
Edited Jul 23, 2018 by Piotr Gawron
Assignee
Assign to
Time tracking