ImperialCollegeLondon / EcPlusAndroid

0 stars 3 forks source link

If the project name has an hyphen "-" the client crashes #2

Closed teleyinex closed 11 years ago

teleyinex commented 11 years ago

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

CIPowell commented 11 years ago

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2.

Christopher Powell MSc chris.i.powell@gmail.com

teleyinex commented 11 years ago

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell notifications@github.comwrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787.

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

teleyinex commented 11 years ago

Hi again,

I'm trying today the plus version and I cannot create the Form because it keeps me asking to add a Key to the form and I do not find the way to do it. How should I do that?

Cheers,

Daniel

On Wed, Feb 20, 2013 at 9:02 AM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell notifications@github.comwrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787.

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex

·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

daanensen commented 11 years ago

Hi Daniel,

yes, we should probably be more explicit or 'friendly' about keys

each form needs one key which can be specified in the 'Field Properties' section of the form builder when a field is selected.

I have written documentation - mostly complete - and the page on keys can be found here -

http://www.epicollect.net/plus/Instructions/FormBuilder/1_addingaForm.html

all the best

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 08:09 To: ImperialCollegeLondon/EcPlusAndroid Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi again,

I'm trying today the plus version and I cannot create the Form because it keeps me asking to add a Key to the form and I do not find the way to do it. How should I do that?

Cheers,

Daniel

On Wed, Feb 20, 2013 at 9:02 AM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell notifications@github.comwrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787.

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex

·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820349.

teleyinex commented 11 years ago

Hi,

After selecting one input box as the Key and clicking in Done I get this error when saving the form: Project not saved : The XML for this project is invalid : No key field specified for Lichens

What am I doing wrong?

Daniel

On Wed, Feb 20, 2013 at 9:25 AM, David Aanensen notifications@github.comwrote:

Hi Daniel,

yes, we should probably be more explicit or 'friendly' about keys

each form needs one key which can be specified in the 'Field Properties' section of the form builder when a field is selected.

I have written documentation - mostly complete - and the page on keys can be found here -

http://www.epicollect.net/plus/Instructions/FormBuilder/1_addingaForm.html

all the best

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 08:09 To: ImperialCollegeLondon/EcPlusAndroid Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi again,

I'm trying today the plus version and I cannot create the Form because it keeps me asking to add a Key to the form and I do not find the way to do it. How should I do that?

Cheers,

Daniel

On Wed, Feb 20, 2013 at 9:02 AM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell notifications@github.comwrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex ··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820349>.

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820803.

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

daanensen commented 11 years ago

Hi Daniel,

what's the project name?

thanks

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 14:37 To: ImperialCollegeLondon/EcPlusAndroid Cc: Aanensen, David Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi,

After selecting one input box as the Key and clicking in Done I get this error when saving the form: Project not saved : The XML for this project is invalid : No key field specified for Lichens

What am I doing wrong?

Daniel

On Wed, Feb 20, 2013 at 9:25 AM, David Aanensen notifications@github.comwrote:

Hi Daniel,

yes, we should probably be more explicit or 'friendly' about keys

each form needs one key which can be specified in the 'Field Properties' section of the form builder when a field is selected.

I have written documentation - mostly complete - and the page on keys can be found here -

http://www.epicollect.net/plus/Instructions/FormBuilder/1_addingaForm.html

all the best

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 08:09 To: ImperialCollegeLondon/EcPlusAndroid Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi again,

I'm trying today the plus version and I cannot create the Form because it keeps me asking to add a Key to the form and I do not find the way to do it. How should I do that?

Cheers,

Daniel

On Wed, Feb 20, 2013 at 9:02 AM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell notifications@github.comwrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex ··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820349>.

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820803.

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834706.

CIPowell commented 11 years ago

Odd... it's just worked for me... Daniel, if you reload the form builder you should see I've created a one form, one control definition which has a key.

Chris

On 20 February 2013 14:40, David Aanensen notifications@github.com wrote:

Hi Daniel,

what's the project name?

thanks

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 14:37 To: ImperialCollegeLondon/EcPlusAndroid Cc: Aanensen, David Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi,

After selecting one input box as the Key and clicking in Done I get this error when saving the form: Project not saved : The XML for this project is invalid : No key field specified for Lichens

What am I doing wrong?

Daniel

On Wed, Feb 20, 2013 at 9:25 AM, David Aanensen notifications@github.comwrote:

Hi Daniel,

yes, we should probably be more explicit or 'friendly' about keys

each form needs one key which can be specified in the 'Field Properties' section of the form builder when a field is selected.

I have written documentation - mostly complete - and the page on keys can be found here -

http://www.epicollect.net/plus/Instructions/FormBuilder/1_addingaForm.html

all the best

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 08:09 To: ImperialCollegeLondon/EcPlusAndroid Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi again,

I'm trying today the plus version and I cannot create the Form because it keeps me asking to add a Key to the form and I do not find the way to do it. How should I do that?

Cheers,

Daniel

On Wed, Feb 20, 2013 at 9:02 AM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell < notifications@github.com>wrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820349>.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820803>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex ··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834706>.

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834818.

Christopher Powell MSc chris.i.powell@gmail.com

CIPowell commented 11 years ago

Did you create more than one form?

Chris

On 20 February 2013 14:42, Chris Powell chris.i.powell@gmail.com wrote:

Odd... it's just worked for me... Daniel, if you reload the form builder you should see I've created a one form, one control definition which has a key.

Chris

On 20 February 2013 14:40, David Aanensen notifications@github.comwrote:

Hi Daniel,

what's the project name?

thanks

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 14:37 To: ImperialCollegeLondon/EcPlusAndroid Cc: Aanensen, David Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi,

After selecting one input box as the Key and clicking in Done I get this error when saving the form: Project not saved : The XML for this project is invalid : No key field specified for Lichens

What am I doing wrong?

Daniel

On Wed, Feb 20, 2013 at 9:25 AM, David Aanensen notifications@github.comwrote:

Hi Daniel,

yes, we should probably be more explicit or 'friendly' about keys

each form needs one key which can be specified in the 'Field Properties' section of the form builder when a field is selected.

I have written documentation - mostly complete - and the page on keys can be found here -

http://www.epicollect.net/plus/Instructions/FormBuilder/1_addingaForm.html

all the best

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 08:09 To: ImperialCollegeLondon/EcPlusAndroid Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi again,

I'm trying today the plus version and I cannot create the Form because it keeps me asking to add a Key to the form and I do not find the way to do it. How should I do that?

Cheers,

Daniel

On Wed, Feb 20, 2013 at 9:02 AM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell < notifications@github.com>wrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820349>.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820803>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex ··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834706>.

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834818.

Christopher Powell MSc chris.i.powell@gmail.com

Christopher Powell MSc chris.i.powell@gmail.com

teleyinex commented 11 years ago

After reloading it works. Thanks for fixing it!

On Wed, Feb 20, 2013 at 3:42 PM, Chris Powell notifications@github.comwrote:

Did you create more than one form?

Chris

On 20 February 2013 14:42, Chris Powell chris.i.powell@gmail.com wrote:

Odd... it's just worked for me... Daniel, if you reload the form builder you should see I've created a one form, one control definition which has a key.

Chris

On 20 February 2013 14:40, David Aanensen notifications@github.comwrote:

Hi Daniel,

what's the project name?

thanks

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 14:37 To: ImperialCollegeLondon/EcPlusAndroid Cc: Aanensen, David Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi,

After selecting one input box as the Key and clicking in Done I get this error when saving the form: Project not saved : The XML for this project is invalid : No key field specified for Lichens

What am I doing wrong?

Daniel

On Wed, Feb 20, 2013 at 9:25 AM, David Aanensen < notifications@github.com>wrote:

Hi Daniel,

yes, we should probably be more explicit or 'friendly' about keys

each form needs one key which can be specified in the 'Field Properties' section of the form builder when a field is selected.

I have written documentation - mostly complete - and the page on keys can be found here -

http://www.epicollect.net/plus/Instructions/FormBuilder/1_addingaForm.html

all the best

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 08:09 To: ImperialCollegeLondon/EcPlusAndroid Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi again,

I'm trying today the plus version and I cannot create the Form because it keeps me asking to add a Key to the form and I do not find the way to do it. How should I do that?

Cheers,

Daniel

On Wed, Feb 20, 2013 at 9:02 AM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell < notifications@github.com>wrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820349>.

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820803>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834706>.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834818>.

Christopher Powell MSc chris.i.powell@gmail.com

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834931.

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

teleyinex commented 11 years ago

Another question: from where could I download the Android Epicollect+ version? In the docs it points to the previous version and I cannot load the new one :-) Can you send me the package?

Daniel

On Wed, Feb 20, 2013 at 4:07 PM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

After reloading it works. Thanks for fixing it!

On Wed, Feb 20, 2013 at 3:42 PM, Chris Powell notifications@github.comwrote:

Did you create more than one form?

Chris

On 20 February 2013 14:42, Chris Powell chris.i.powell@gmail.com wrote:

Odd... it's just worked for me... Daniel, if you reload the form builder you should see I've created a one form, one control definition which has a key.

Chris

On 20 February 2013 14:40, David Aanensen notifications@github.comwrote:

Hi Daniel,

what's the project name?

thanks

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 14:37 To: ImperialCollegeLondon/EcPlusAndroid Cc: Aanensen, David Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi,

After selecting one input box as the Key and clicking in Done I get this error when saving the form: Project not saved : The XML for this project is invalid : No key field specified for Lichens

What am I doing wrong?

Daniel

On Wed, Feb 20, 2013 at 9:25 AM, David Aanensen < notifications@github.com>wrote:

Hi Daniel,

yes, we should probably be more explicit or 'friendly' about keys

each form needs one key which can be specified in the 'Field Properties' section of the form builder when a field is selected.

I have written documentation - mostly complete - and the page on keys can be found here -

http://www.epicollect.net/plus/Instructions/FormBuilder/1_addingaForm.html

all the best

David


From: noreply@github.com [noreply@github.com] on behalf of Daniel Lombraña González [notifications@github.com] Sent: 20 February 2013 08:09 To: ImperialCollegeLondon/EcPlusAndroid Subject: Re: [EcPlusAndroid] If the project name has an hyphen "-" the client crashes (#2)

Hi again,

I'm trying today the plus version and I cannot create the Form because it keeps me asking to add a Key to the form and I do not find the way to do it. How should I do that?

Cheers,

Daniel

On Wed, Feb 20, 2013 at 9:02 AM, Daniel Lombraña González < teleyinex@gmail.com> wrote:

Hi,

Sorry for the delayed answer! It was in the www.epicollect.net. Which server should I use, the new one?

How I can access the JSON feed of the data of the project?

Daniel

On Thu, Feb 14, 2013 at 1:07 PM, Chris Powell < notifications@github.com>wrote:

Hi Daniel,

Just to check, was this on plus.epicollect.net or www.epicollect.net?

Chris

On 14 February 2013 09:40, Daniel Lombraña González < notifications@github.com> wrote:

Problem: If a user creates a project with a name like: lichens-pybossa the web server accepts it, but the Android client will crash. Steps to reproduce it:

  1. Create a project with an hyphen
  2. Load the project in the Android client (this works)
  3. Try to add an entry, the project crashes

Possible solution: Sanitize/escape strings, or warn the user that he cannot create a project with such a name.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2>.

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13544787>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820349>.

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13820803>.

··························································································································································

http://daniellombrana.es http://www.flickr.com/photos/teleyinex

··························································································································································

Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él.

··························································································································································

— Reply to this email directly or view it on GitHub<

https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834706>.

— Reply to this email directly or view it on GitHub< https://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834818>.

Christopher Powell MSc chris.i.powell@gmail.com

Christopher Powell MSc chris.i.powell@gmail.com

— Reply to this email directly or view it on GitHubhttps://github.com/ImperialCollegeLondon/EcPlusAndroid/issues/2#issuecomment-13834931.

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex

·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

·························································································································································· http://daniellombrana.es http://www.flickr.com/photos/teleyinex ·························································································································································· Por favor, NO utilice formatos de archivo propietarios para el intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV o cualquier otro que no obligue a utilizar un programa de un fabricante concreto para tratar la información contenida en él. ··························································································································································

CIPowell commented 11 years ago

Project names now being rejected with hyphens and full stops when creating a new project on the server.