Tasks sometimes close when shelving changes 🙃

I have a long outstanding annoyance with PHPStorm where if I shelve a change list, it will sometimes close the task and remove the change list and sometimes not.  It has behaved like this for maybe a year or more.

I cannot predict when it will close the task as a part of shelving, and cannot determine how I might control it.

As such, when I unshelve changes, I find my change list has gone.  So I have to located the closed task and reopen it to get the change list back.

It happens maybe 30% of the time, turning shelving/unshelving a tedious process.

Is this a fault with PHPStorm, or is there someway I can control this so it behaves predictably?

0
8 comments

Hi,

How exactly do you shelve? 

When the tasks closes, how does it look in the UI, any specific changes? 

Can you reproduce and share the fully zipped logs please? 

0

How exactly do you shelve?

I have Jira as a Task server.

  1. I go to Tools → Tasks and Context → Open Task to open a task, which resolves to a Jira ticket. This creates a change list for the task.
  2. Click the Commit panel, and the Commit tab.
  3. Right click the Change List and click Shelves Changes …
  4. Click Shelve Changes button at the confirmation prompt.

I also find it happens if I create a change-list from scratch (I.e. without linking it to a task.)

When the tasks closes, how does it look in the UI, any specific changes?

The Commit tab no longer displays the Change List item.  The task is no longer listed in the Switch Tasks list, and I have to find it in the Open Tasks list by choosing the option to see closed tasks.

Can you reproduce and share the fully zipped logs please? 

Is there a guide for how get the appropriate logs?

0

Hi,

Can you please elaborate:

“I also find it happens if I create a change-list from scratch (I.e. without linking it to a task.)”

What exactly happens? How does the task get closed if the change-list is not linked? 

As for logs, please see: https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files, please zip the whole file and upload it to https://uploads.jetbrains.com/. 

0

> What exactly happens? How does the task get closed if the change-list is not linked? 

I right-click within the Commit panel, and choose New Changelist.  When I shelve the change list, the change list may be removed.

In this case, there is not task, so a task does not get closed.

However, where a change list is linked to a task, then I find that the task will be in the closed list when I'm looking to restore the changelist so I can unshelve the change.

I will attach a log when it next happens.

0

I have replicated the issue and uploaded the idea.log files : 2024_06_18_xeE7ZrQ76VL9eMdFCav8Lk

I'm not sure what details are in the log, but I shelved 3 changelists (from the Commit panel) in the following order:

  1. CRN 2.05: Click Reach CSV Data Adapter
  2. CRN 1.15: Date column normalizer
  3. CRN 1.14: Device column normalizer

The changelist was preserved for the first two (I.e. they are still listed in the Commit panel, but without any modifed fiels) whilst the third one was unexpectedly removed.

It's removal was unexpected because I did not do anything different when shelving then 3rd changelist to how I shelved the first two changelists.

To shelve the changelists, I right-click them and choose “Shelve changes”.

To get my changelist back after it dissappears, I switch the task (Tools → Task & Contexts → Switch Task) and then create the changelist (Tools → Task & Context → Add Change List for ‘…’)

 

0

Hi Courtney, what option is set for you at Version Control → Changelists → Inactive Changelist → When an empty changelist becomes inactive?

 

0

what option is set for you at Version Control → Changelists → Inactive Changelist → When an empty changelist becomes inactive?

Is it set to Do Nothing.

I see it has Remove Silently, which is definitely not selected.  And where I seem to experience change lists being silently removed, it is intermittent.

0

hi,

Unfortunately we cannot reproduce it. 

Are you using any non-downloaded plugins, would you be able to disable them and re-test? 

0

Please sign in to leave a comment.