google app engine - TextProperty field in NDB gets "=" appended after every line -


I have a very strange case that I was not able to debug for a day.

At the front end I have Textarea and submit the button. On submission, the Tedarera field is saved as ndb.TextProperty () , when I send a multilevel text, the text in the database will be = or = 20 Characters on each line first I thought that they were randomly inserted, but it seems that every 76 characters have a = character

It's really hard to debug this as my localhost example Works, but it is not deployed version. Besides, they are both in sync, in addition to my localhost example, the new line and tab characters are shown correctly in the text field of the datastore unit, but on the deployed version, the DataStore field will be displayed as a text block without a new line or tab. have been shown.

Can anyone guide me in the right direction?

Oh, blobstorehandler you have not mentioned this in your original question.

OK is your problem

I do not believe you can add two. If you are uploading to the blobostore, you can not do other form elements, because the upload is sent to the blobstore service.

From Docs

By submitting an HTML form to the user, in which one or more file input fields are included, your application will get the destination (action) of create_upload_url () Call, pass the function to the handler's URL path in your application. When a user submits the form, then the user's browser uploads the specified files directly to the blobostore. The blobostor rewrites the request of the user and stores the upload file data, replaces the uploaded file data with one or more related blob keys, then again creates the written request handler on the URL path, which you create_upload_url () was provided to This handler can do extra processing based on the Blob Key.

So it is difficult to say what is happening when you do not see your code, but I seriously doubt that you can do whatever you want.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -