GithubHelp home page GithubHelp logo

Comments (11)

lsetiawan avatar lsetiawan commented on August 25, 2024

L359 citationexternalidentiferuri = models.CharField(max_length=255, blank=True, db_column="citationexternalidentiferuri")

L2395 variableexternalidentifer = models.CharField(max_length=255)

from cz-manager.

miguelcleon avatar miguelcleon commented on August 25, 2024

Yeah we can fix these, I'm pretty certain they had been misspelled in an older release of ODM2 and it carried through.

from cz-manager.

miguelcleon avatar miguelcleon commented on August 25, 2024

I think I just need to fix my column names on the SQL table after I install your PR.

from cz-manager.

lsetiawan avatar lsetiawan commented on August 25, 2024

Sounds good. Yea, I did that to your copy database, and it seems to work now. Thanks.

from cz-manager.

emiliom avatar emiliom commented on August 25, 2024

I'm pretty certain they had been misspelled in an older release of ODM2 and it carried through

Yeah, this is pretty likely. Sigh. We really need to do a better job on the ODM2 end (ie, the core ODM2 gang) to define schema versions or releases, to make it easier to align ODM2 software like ODM2-Admin with the schema being used.

from cz-manager.

miguelcleon avatar miguelcleon commented on August 25, 2024

I did fix my column name after I moved your updates live, I'm not sure if this is fixed in the base ODM2 project though.

from cz-manager.

emiliom avatar emiliom commented on August 25, 2024

I haven't seen any noise about fixes in the base ODM2 schema. For later tracking, I'm pasting below the issues Don submitted on the ODM2 repo:

In principle I could fix the first one myself; in practice, I haven't been properly set up with DbWrench for a while, I think. Anyway, I'll try to bring it up, to get these fixed.

from cz-manager.

miguelcleon avatar miguelcleon commented on August 25, 2024

I think this is probably related to this issue but I was having trouble locating the misspelling at the moment. I was trying to delete an organization and I got an error. Can you create and delete an organization?
image

from cz-manager.

lsetiawan avatar lsetiawan commented on August 25, 2024

I just tested deleting organization. It is fine for me. No Errors. Thanks. Not sure why you're getting the error...

from cz-manager.

miguelcleon avatar miguelcleon commented on August 25, 2024

Ok, I had to do the following. I'll check ODM2 package to see if this is an old problem or still present.

ALTER TABLE odm2.variableexternalidentifiers RENAME variableexternalidentifer TO variableexternalidentifier;

Ok I checked that is the same issue, just showing up in another place.

from cz-manager.

lsetiawan avatar lsetiawan commented on August 25, 2024

Yea, I figured that was the Issue, I have brought it up to the main ODM2 as Emilio has mentioned in the comment above. It seems like no fix has been implemented. Glad it works for you now after altering the table.

from cz-manager.

Related Issues (20)

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.