User Profile & Activity

Yudi Member
Page
of 259
Posted: May 3, 2016 8:28 AM

I downloaded the FormBuilder sample but I could not find the code you changed.

Sorry if my previous reply causing misunderstanding. Here are the detail steps that I did to test the reported problem:

  1. Open Crosslight FormBuilder sample in Xamarin Studio or Visual Studio.
  2. Open TextField.cs (FormBuilderSamples.Core/Models/Reference/Editors/TextField.cs).
  3. Make changes into the class by adding: "Amount" nullable property; add contants AmountPropertyMetadata; and initialize Amount property to null in the contructor.
  4. Open TextField.Form.cs (FormBuilderSamples.Core/Models/Reference/Editors/TextField.Form.cs).
  5. Make changes into the class by: enabling DetailOnlySection; add Amount metadata into the DetailOnlySection.
  6. Save the changes.
  7. Test the project on LG Nexus 4 running Android 5.1.1 Lollipop.

I enclosed the video which shows how the test was conducted on my device. Please find the video and the modified sample in the attachment and let me know if you find anything that I might miss during my attempt to reproduce the reported problem.

Note: The modified sample is uploaded in here.

Posted: May 3, 2016 6:56 AM

Crosslight has Intersoft.Crosslight.Services.Auth assembly which handles authentication.

We are willing to advise you further but in order to do so we would need you to elaborate on your specific scenario and possibly give us a step-by-step guide that we can use to observe the problem.

... why do I have to set it to -100 (as in the data sqlite sample) in order to work properly? Is this by design or any other reason?

Setting it to -1 works as well. ...

Yes, you are correct. Setting it to -1 will works as well. To work with auto increment primary keys, we can use any negative number (less than 0). It is recommended to use -1.

We'll have the sample updated by applying default ItemId to -1.

Thank you very much for the feedback.

Posted: May 3, 2016 4:11 AM

So, on a tablet with API 19 it works on my end, too. Either the problem is the phone or the different API level. Please, test again.

Thank you for the information. So today, I re-test scenario1 using phone with following detail: LG Nexus 4 running Android 5.1.1 Lollipop.

The problem was not reproducible using the test phone. Please review the attached video which shows how the testing conducted in my local end.

Posted: May 2, 2016 9:58 AM

The backlog is already queued in our work items. However, it hasn't completed yet due to work items priorities and urgency.

I'll check with the Crosslight development team regarding the release schedule of CROS-1109. Will get back to you as soon as possible.

Posted: May 2, 2016 9:55 AM

The feature request is already queued in our work items. However, it hasn't been completed yet due to work items priorities and urgency.

I'll check with the Crosslight development team regarding the release schedule of CROS-1029. Will get back to you as soon as possible.

Posted: May 2, 2016 8:38 AM

I start the app, click on one of the items in the list. In the detail view I click on edit. In the edit view I take a new photo. After confirming the taken photo I hit "ExecuteFinishImagePickerCommand" and "resultParameter.Result.ImageData" contains the taken photo as byte array. The new photo shows up in the image picker. Now, repeat this. I hit "ExecuteFinishImagePickerCommand" again, but now "resultParameter.Result.ImageData" contains 0 bytes and the image picker is empty.

I carefully follow the steps to reproduce the reported problem in my local end by using:

  • Project: app-inventory-masterdetail
  • Crosslight NuGet package: 5.0.5000.632 (Crosslight 5 Update 2).
  • Android device: Samsung Galaxy Tab GT-P3110 (running Android 4.1.2 Jelly Bean)

The reported problem is not reproducible in my local end. "resultParameter.Result.ImageData" doesn't contains 0 bytes and the image picker isn't empty.

I created a video which shows Xamarin Studio and Android Screen Manager window (which is used to project the tab screen to PC) side-by-side. Please have a look at the attached video, Scenario1.zip, and feel free to let me know if you find anything that I might miss during my attempt in order to reproduce the problem.

I start the app, click on one of the items in the list. In the detail view I click on edit. In the edit view I take a new photo. After confirming the taken photo, I crop the photo and confirm again. I hit "ExecuteFinishImagePickerCommand" and "resultParameter.Result.ImageData" contains the taken photo as byte array the "ThumbNailData" contains the thumb as byte array. The new photo shows up in the image picker. Now, repeat this. After confirming the taken photo, the crop app complains with "picture cannot be loaded". Then I hit "ExecuteFinishImagePickerCommand" again, but now "resultParameter.Result.ImageData" contains 0 bytes, "ThumbNailData" is null and the image picker is empty.

I carefully test scenario 2 using the same detail as mentioned above. I was unable to reproduce these problems below:

  • the crop app complains with "picture cannot be loaded"
  • "resultParameter.Result.ImageData" contains 0 bytes, "ThumbNailData" is null and the image picker is empty.

I made a video which shows how the test was conducted on my local end. Please have a look at the attached video, scenario2.zip, and feel free to let me know if you find anything that I might miss during my attempt to reproduce the problem.

I start the app, click on one of the items in the list. In the detail view I click on edit. In the edit view I choose "View larger" in the image picker context menu. I see a larger version of the picker and go back to the edit view. Now, I click on the "Save" icon in the top right corner, but I never hit the "ExecuteSave" method. This only happens when I navigate to "View larger" before saving.

Sorry for any inconvenience this problem may have caused you. I was able to reproduce this problem in my local end. It has been forwarded to Crosslight development team. The report was filed under CROS-1125.

I will keep you informed with any news I heard from the team related to CROS-1125.

When I change some text before navigating to "View larger" and the focus is still in the text field while changing the view, the changes are lost when navigating back.

Sorry for any inconvenience this problem may have caused you. I was able to reproduce this problem in my local end. It has been forwarded to Crosslight development team. The report was filed under CROS-1126.

I will keep you informed with any news I heard from the team related to CROS-1126.

Hoping to find a work around for scenario 1 and 2, I did the following: In the "ExecuteActivateImagePicker" of the "EditorViewModelBase"...

I didn't test scenario 5 yet since problems in scenario 1 and scenario 2 are not reproducible in my local end.

Look forward to hearing back from you.

Posted: April 28, 2016 7:55 AM

do you have any news about CROS-1109? I should deliver an app using push notifications, but this error message stops me from doing so.

I'm sorry for any inconvenience this problem may have caused you. The team is working to fix the problem reported under CROS-1109 and do their best to be available in Crosslight 5 Update 2.

The Crosslight 5 Update 2 is expected to be delivered within this week or early next week.

Posted: April 28, 2016 7:19 AM

Thank you for the explanation. It works as you described it.

Glad to hear that the explanation helps.

By the way, calling the "Crop App" mostly fails with "Image could not be loaded" error message. Please, fix, too.

With AllowEditing enabled, calling the "Crop App" from ImagePicker doesn't causing error in my local end. For your information, Crosslight 5.0.5000.626-experimental was used in my test.

Please feel free to let me know if you find anything that I might miss during my attempt in order to reproduce the reported problem.

Sorry, I closed this issue to early. This is still open.

No problem, Thomas. We can keep this thread active until all your questions responded.

- How can I translate the context menu of the ImagePicker (Select Image, Take Photo, Choose From Gallery, Delete Photo)

- How can I translate the text below the ImagePicker image (edit, add photo)?

I will need to discuss this with Crosslight development team. I will get back to you as soon as possible.

Posted: April 27, 2016 8:26 AM

Hi Thomas,

I implemented the changes into Crosslight FormBuilder sample and follow the steps below:

  1. After the form appear, the Amount field is empty, showing only the placeholder text ("Amount").
  2. Then enter an amount, 123.45.
  3. Leave the field.
  4. Get back to the amount field and clear the amount.

No error persist when performing the above steps. For your information, I'm using Crosslight 5.0.5000.626-experimental from NuGet.

If you are using the latest stable version (5.0.5000.607), could you please try to update the NuGet package and let me know the result?

All times are GMT -5. The time now is 5:02 AM.
Previous Next