Giter Club home page Giter Club logo

Comments (9)

algomaster99 avatar algomaster99 commented on June 9, 2024 1

@K-Kumar-01 thanks for raising the issue.

I think the extra "" are not put intentionally. They come directly from CiceroMark JSON of a sample text of a particular template. As far as I remember the values in the CiceroMark JSON were stored like this - {name: "\"Party A\""}.

I might be wrong though. Could you please confirm, @irmerk @K-Kumar-01 ?

from cicero-word-add-in.

irmerk avatar irmerk commented on June 9, 2024 1

That sounds right. Probably something we didn't want to bother with last summer at the time.

from cicero-word-add-in.

nishihere19 avatar nishihere19 commented on June 9, 2024 1

I had a similar doubt, when the user edits a variable, it allows them to remove the double-quotes. Was it intentional or we want to preserve the double-quotes as well?

from cicero-word-add-in.

irmerk avatar irmerk commented on June 9, 2024

@algomaster99 any thoughts on this? I don't recall why we needed quotation marks.

from cicero-word-add-in.

K-Kumar-01 avatar K-Kumar-01 commented on June 9, 2024

@algomaster99
The values in JSON mark are as follows

$class: "org.accordproject.ciceromark.Variable"
elementType: "org.accordproject.organization.Organization"
identifiedBy: "identifier"
name: "shipper"
value: ""Party A""

So yeah basically what you are saying is right.
However, in contract-editor (web-components), the values do not contain the "" wrapped around them. This led me to think that these might be unintentional when it gets converted to CiceroMark JSON.
Maybe you or @irmerk can explain better to me about this

from cicero-word-add-in.

K-Kumar-01 avatar K-Kumar-01 commented on June 9, 2024

@algomaster99 @irmerk
Should I make a PR for the issue.

from cicero-word-add-in.

algomaster99 avatar algomaster99 commented on June 9, 2024

@K-Kumar-01 you can go ahead. The contract editor probably strips the "" out of the variable value so do how its done in there. Also, make sure roundtripping is not broken because of this.

from cicero-word-add-in.

K-Kumar-01 avatar K-Kumar-01 commented on June 9, 2024

@algomaster99
In contract editor, there is no extra "" in the values.
Screenshot (63)
So I don't think we can use its implementation for the same.
Though I have found a solution for which I make a PR ASAP.

from cicero-word-add-in.

K-Kumar-01 avatar K-Kumar-01 commented on June 9, 2024

@algomaster99
I have made a PR for the issue. Let me know if there are any changes required.

from cicero-word-add-in.

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.