Git Product home page Git Product logo

vipaimportbundle's People

Contributors

behram avatar delirehberi avatar hasantayyar avatar hmert avatar utkuaydin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vipaimportbundle's Issues

Check import conflicts after update a journal

  • Journal
  • Journal Translation
  • Journal languages
  • Submission Checklist
  • Pages
  • Page translations
  • Journal Settings
  • Journal Roles
  • User
  • Author
  • Contacts
  • Block
  • BlockLink
  • Article
  • Article Translation
  • Section
  • Citation
  • CitationSetting
  • Issue
  • ArticleFiles
  • IssueFiles
  • Institution

Change Project Name

This project has only one job. Import from @pkp/ojs. So it's name should be "ojs-legacy-importer"

Some articles can't get imported

Some articles can't get imported because of an Elasticsearch related exception. This stops the whole process because Doctrine closes the entity manager when there is an exception.

Import submitter users of articles

Submitter users are stored using PendingSubmitterImport entity. Write a command for importing them and assigning them to their articles.

Import cover images

Cover images of journals are essential, so import them using a new command

Table not exists: article_total_view_stats

Importing a journal from OJS 2.4.8, I get the following error:

An exception occurred while executing 'SELECT total FROM article_total_view_stats WHERE article_id = :id' with params ["58"]:                                                                                                           
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ojs.article_total_view_stats' doesn't exist

I checked with both OJS2.4.3 and OJS2.4.8, neither of them have "article_total_view_stats" table. I guess this table is added to DergiPark later.

IMHO, this bundle should work with pkp ojs and it should not depend on the changes made in ojs database.

Argument 1 passed to Author::setTitle() must be an instance of PersonTitle

Importing from OJS2.4.8 gives the following error.

Catchable Fatal Error: Argument 1 passed to Ojs\JournalBundle\Entity\Author::setTitle() must be an instance of Ojs\JournalBundle\Entity\PersonTitle, string given, called in path_to_ojs/vendor/ojs/import-bundle/Importer/PKP/ArticleImporter.php on line 269

I checked Author class, its setter defined as:

/**
 * @param  PersonTitle $title
 * @return $this
 */
public function setTitle(PersonTitle $title = null)

And the call throwing the error is:

$author->setTitle('-');

I changed the call with

$author->setTitle(null);

It works ok for now. I will comment to this issue if I encounter any problems related to change. ☺️

Import subjects too while importing journals

Currently, journal subjects are imported using a separate command. That'll stay, but the code must be moved to a more convenient place and subject importing must be done during journal imports.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.