Giter Club home page Giter Club logo

Comments (7)

EddyVerbruggen avatar EddyVerbruggen commented on June 9, 2024

Hi, thanks for the bugreport!

Could it be one of the fields 'title', 'location' or 'notes' contains an apostrophe or quote character? Could you test for me if that's the cause?

Ik will take a look myself today or tomorrow.

from calendar-phonegap-plugin.

JonathanHindi avatar JonathanHindi commented on June 9, 2024

Thanks for the prompt response. I checked the string and it's as follows

'NSInvalidArgumentException', reason: 'Unable to parse the format string "title == 'Soot Fel Zahma/ Wust El Balad' AND location == '197, 26th July St.Agouza' AND notes == 'Amidst the chaos shadowing every street in Cairo, a voice speaks up, eager to express what many of us might be thinking.  Enjoy this debut performance by Soot Fel Zahma! Next, Wust El Balad deliver their full spectrum of sound, with expressive lyrics that are bound to stir your thoughts and emotions
'"'

Which I can't find any apostrophe or quote between the string.

from calendar-phonegap-plugin.

EddyVerbruggen avatar EddyVerbruggen commented on June 9, 2024

Hi,

I can reproduce and fix your issue.

Invalid: var notes = "Bla bla bla"+"'";
Valid: var notes = "Bla bla bla";

Can you have a look at the last characters of your notes field?

from calendar-phonegap-plugin.

JonathanHindi avatar JonathanHindi commented on June 9, 2024

The text itself comes from a webservice, so I can't control it, however I checked the text itself if is there any special character at the end but I can't find one.

If you can suggest a way to get around this I will be thankful! Could be ignore the check by the notes and check with date and time only?

from calendar-phonegap-plugin.

JonathanHindi avatar JonathanHindi commented on June 9, 2024

I got around this by checking if the event was found without the notes field. But I think we should find a solid solution for the checking like escaping special characters from the comparison string.

from calendar-phonegap-plugin.

EddyVerbruggen avatar EddyVerbruggen commented on June 9, 2024

Hi, glad you got it working! I would myself never use the notes to find an event anyway, but the plugin offers the option for those who want to.. but IMHO the developer is responsible for what is passed into the plugin. I will keep this in mind though. Thanks!

from calendar-phonegap-plugin.

JonathanHindi avatar JonathanHindi commented on June 9, 2024

Thanks for your support :)

Thanks & Regards,

Jonathan N. Hindi@JonathanHindi

On Fri, Feb 21, 2014 at 8:51 PM, Eddy Verbruggen
[email protected]:

Closed #30#30
.

Reply to this email directly or view it on GitHubhttps://github.com//issues/30
.

from calendar-phonegap-plugin.

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.