Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task layer with contingent value issues in Manager #989

Open
2 tasks
azizaparveen opened this issue Oct 29, 2024 · 7 comments
Open
2 tasks

Task layer with contingent value issues in Manager #989

azizaparveen opened this issue Oct 29, 2024 · 7 comments
Assignees
Labels
Milestone

Comments

@azizaparveen
Copy link
Collaborator

azizaparveen commented Oct 29, 2024

Describe the bug

Seeing two issues so far

  • if I select a record from the point layer, click Edit, the feature lost its selection mode in the map
  • In Map layout, if I select a record and move the geometry, clicking update button is doing nothing, also no console error.
    Manager_tasklayernot updating geometry

Expected Behavior

Selection from map should not be lost after clicking on Edit button, also Update button should update the geometry, I see the issue with attribute update as well.

Reproduction Steps & Sample

Test map: https://arcgis4localgov2.maps.arcgis.com/apps/mapviewer/index.html?webmap=7029142de15e468cbc5953e4093af838

Other Relevant Info

No response

@azizaparveen azizaparveen added the 1-BUG Something isn't working label Oct 29, 2024
@azizaparveen azizaparveen added this to the 2024.R03 milestone Oct 29, 2024
@azizaparveen azizaparveen changed the title Task layer issue Task layer issues in Manager Oct 29, 2024
@azizaparveen azizaparveen modified the milestones: 2024.R03, 2025.R01 Oct 29, 2024
@azizaparveen
Copy link
Collaborator Author

cc @sarahmcdonald7

@chris-fox
Copy link
Collaborator

@azizaparveen, one issue I have seen in the past with the Update button not working is if my layer has contingent values configured and the value are not valid for the contingent values, then you can't update the feature and you get no error/warning message. This is because contingent value fields are not visible in the form. I was able to reproduce the same issue in the Map Viewer.

I notice the Trees layer in your web map has contingent values enabled for the Tree species information. I am wondering if this might be the cause.

@azizaparveen
Copy link
Collaborator Author

@chris-fox yeah, as you said I can repro this in map viewer as well. In my form, I don't have any field that has contingent values though, and it still do not update. I would expect it to work if the form do not have any field with contingent values.,
in the screenshot below there are field groups that has contingent values but I haven't used any of them in the form
image)

@chris-fox
Copy link
Collaborator

Yes, i found the same. In my case even when I didn't have them in the form the edit widget would not allow me to edit the record. I found if I added them to my form, it would give me an error related to the contingent values and so at least i could see and resolve the issue and then update worked. You could try adding them to the form and see if it changes the behavior, are you seeing an error related to the contingent values that is preventing the update?

@azizaparveen
Copy link
Collaborator Author

Submitted an issue in JS API repo https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/66306 for fixing editing issue

@azizaparveen azizaparveen changed the title Task layer issues in Manager Layer with contingent value issues in Manager Oct 31, 2024
@azizaparveen azizaparveen changed the title Layer with contingent value issues in Manager Task layer with contingent value issues in Manager Oct 31, 2024
@azizaparveen
Copy link
Collaborator Author

Did little more testing on this today. I published a layer with contingent value fields without enabling task and see the same issue sometimes (but cannot consistently repro always), so as Chris said it may not task layer specific.

Right now we don't have much to do except waiting for JS API (https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/66306) to fix it. In case, they fixed it in R3, here are test apps .

Devext: https://solutions.mapsdevext.arcgis.com/apps/instant/manager/index.html?appid=7ff595ffea994941a119895b1bb7df58
Qa: https://solutionsqa.mapsqa.arcgis.com/apps/instant/manager/index.html?appid=c9cda33b25a84dcebc558b83c36537f8

@azizaparveen
Copy link
Collaborator Author

This is being tracked in this https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/56350 issue in JS API repo, looks like the milestone is set for 4.32, next release

@azizaparveen azizaparveen modified the milestones: 2024.R03, 2025.R01 Nov 1, 2024
@azizaparveen azizaparveen assigned azizaparveen and unassigned skrishn Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants