In T15640#19898, @valerio.bozzolan wrote:Wow. Assuming the line is the one with phutil_nonempty_string($branch), why branch "main" is considered a number?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Yesterday
Yesterday
aklapper added a comment to T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.
Mon, Dec 16
Mon, Dec 16
valerio.bozzolan added a comment to T15125: Unknown edge constant "26"! when deleting a file with old attachment edges.
The current workaround I'm proposing is just:
Tue, Dec 10
Tue, Dec 10
Thu, Dec 5
Thu, Dec 5
Fri, Nov 29
Fri, Nov 29
valerio.bozzolan updated the task description for T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.
valerio.bozzolan added a comment to T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.
BTW I think the page is reached by a crawler that is visiting a branch root on a specific commit:
valerio.bozzolan added a comment to T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.
Wow. Assuming the line is the one with phutil_nonempty_string($branch), why branch "main" is considered a number?
aklapper added a comment to T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.
Finally got a reproducer URI in downstream:
Tue, Nov 26
Tue, Nov 26
Sat, Nov 23
Sat, Nov 23
pppery renamed T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing from RuntimeException in preg_replace_callback: Text disappears due to Remarkup parsing to RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
Digging deeper, the problem is specific to ProjectRemarkupRule::getObjectIDPattern. That returns:
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
Step 2: Remove irrelevant character class exclusions:
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
Disentangling that monster regex, step 1:
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
Indeed https://devina.io/redos-checker says the aformentioned regex is exponential time worst-case
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
I monkeypatched the code to print preg_last_error when the problematic preg_match returns null. The error is "Backtrack limit exhausted".
Oct 25 2024
Oct 25 2024
aklapper added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
This exception happens once $rule in the loop foreach ($this->getMarkupRules() as $rule) in PhutilRemarkupBlockRule::applyRules($text) becomes ProjectRemarkupRule. That's where it blows up.
Aug 14 2024
Aug 14 2024
valerio.bozzolan added a comment to T15916: Conduit maniphest.gettasktransactions: include metadata and title.
Maybe interesting, there is this different non-deprecated API:
valerio.bozzolan updated the task description for T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.
Aug 7 2024
Aug 7 2024
aklapper closed T15472: Support Open Graph protocol (at least in Maniphest) as Resolved by committing rP89778dc9e617: Add Open Graph protocol meta tags to Maniphest task pages.
Aug 5 2024
Aug 5 2024
aklapper added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
This is an issue in https://we.phorge.it/source/phorge/browse/master/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php . In getObjectEmbedPattern(), preg_quote($prefix) returns \# and the method finally returns (\B{\#([^.\s?!,:;{}#\(\)"'\*/~]+(?:[^\s?!,:;{}#\(\)"'\*/~]*[^.\s?!,:;{}#\(\)"'\*/~]+)*)([,\s](?:[^}\\]|\\.)*)?}\B)u.
Within apply($text), $text becomes null after that first preg_replace_callback, so the second call barks.
Aug 2 2024
Aug 2 2024
aklapper added a comment to T15100: [Feature request] Option to measure WIP limits based on card count instead of points, to more closely adhere to Kanban standards..
I'm not skilled enough to look into the bigger picture, however maybe the Edit Column dialog could have a third field apart from Name and Point Limit to also have Task Limit (or Card Limit?). Point Limit and Task Limit then must be mutually exclusive (do not allow to set both for a column, or even...board?), somehow.
May 20 2024
May 20 2024
May 15 2024
May 15 2024
May 2 2024
May 2 2024
aklapper added a comment to T15407: People: profile picture should be editable by their author (not by "No one").
I do not (yet?) understand the use case of this task.
valerio.bozzolan moved T15407: People: profile picture should be editable by their author (not by "No one") from Backlog to Code Sprint Candidate on the User-valerio.bozzolan board.
Indeed reported from a Wikimedia user about Wikimedia Phabricator.
Apr 29 2024
Apr 29 2024
Apr 25 2024
Apr 25 2024
Iniquity added a comment to T15082: Consider allowing milestone columns to be ordered arbitrarily on workboards.
It seems to me that this problem can be solved with an additional setting that turns this functionality on or off.
Mar 28 2024
Mar 28 2024
Mar 26 2024
Mar 26 2024
avivey added a comment to T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
It might not happen on any other card, because we might not be rendering Remarkup on any other card. Interesting....
avivey added a comment to T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
So this is quite an edge-case:
- PhabricatorMentionRemarkupRule wants to give the mention a different color, depending on if the user can view the "context object", in this case the Project.
- There's an automatic rule, saying a member of a project can always view the project
- When loading the project for the hovercard, we don't bother loading all the member list
- When loading the user for the mention, we don't bother loading all its projects
- so data is not available at the rendering point.
Mar 25 2024
Mar 25 2024
valerio.bozzolan added a comment to T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.
Another good simple candidate GDPR-friendly:
Mar 24 2024
Mar 24 2024
valerio.bozzolan triaged T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description as High priority.
Ouch
Mar 21 2024
Mar 21 2024
aklapper updated the task description for T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
aklapper added a comment to T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
Also note that we have a similar PhabricatorDataNotAttachedException in PhabricatorRepositoryCommit (via getRepository()) in downstream https://phabricator.wikimedia.org/T360714. It's without reproduction steps but sounds a bit similar.
aklapper updated the task description for T15762: PhabricatorDataNotAttachedException when rendering project hovercard with username mentioned in project description.
Mar 15 2024
Mar 15 2024
Mar 10 2024
Mar 10 2024
valerio.bozzolan added a comment to T15631: "Map returned omits required key" exception for second result page (cursor) for Maniphest search ordered by custom field.
Maybe unrelated. But after we fix PhabricatorCursorPagedPolicyAwareQuery, maybe we will find a crash test also for the first two lines:
valerio.bozzolan triaged T15631: "Map returned omits required key" exception for second result page (cursor) for Maniphest search ordered by custom field as Normal priority.
Interestingly I was able to reproduce, but only creating 101+ tasks manually and going to the next page. So after that ?after=100 is introduced.
Jan 4 2024
Jan 4 2024
Dec 31 2023
Dec 31 2023
valerio.bozzolan renamed T15163: The Task Cover Image is visible only to the uploader (invisible to Task participants) from Auto-Attach a File when dropping it as Task cover image to The Task Cover Image is visible only to the uploader (invisible to Task participants).
Dec 18 2023
Dec 18 2023
Dec 14 2023
Dec 14 2023
20after4 updated the task description for T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.
20after4 added a comment to T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.
Here's another one that I think deserves to be upstreamed: https://phabricator.wikimedia.org/T230787 adds context and search term highlights to fulltext search results. Currently Phorge and upstream Phabricator only show matching document titles with highlights on keywords in the title but not the body.
The efficiency of my solution is questionable, however, it's working well enough for Wikimedia's use of the feature.
Dec 8 2023
Dec 8 2023
soloturn added a comment to T15100: [Feature request] Option to measure WIP limits based on card count instead of points, to more closely adhere to Kanban standards..
there is a presentation from eric brechner, who was in microsofts xbox development, about kanban. he does it on whiteboard, extremely sinple:
https://www.youtube.com/watch?v=CD0y-aU1sXo
Dec 7 2023
Dec 7 2023
valerio.bozzolan updated the task description for T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.
Dec 6 2023
Dec 6 2023
aklapper closed T15686: Include 'published' date in Phame atom feeds as Resolved by committing rP6c8329fb6614: Include 'published' date of posts in Phame Atom feeds.
valerio.bozzolan added a project to T15686: Include 'published' date in Phame atom feeds: Affects-Wikimedia.
valerio.bozzolan updated the task description for T15081: Figure out if there are patches from Wikimedia's fork that are desirable to upstream in Phorge.
Nov 23 2023
Nov 23 2023
valerio.bozzolan updated the task description for T15055: Import translations from translatewiki.net.
Nov 22 2023
Nov 22 2023
Translatewiki finally processed the rebrand a few days ago, as part of https://phabricator.wikimedia.org/T318763
Nov 20 2023
Nov 20 2023
Probably this was moved?
valerio.bozzolan added a project to T15055: Import translations from translatewiki.net: Affects-Wikimedia.
Cool. Two things:
valerio.bozzolan added a comment to T15125: Unknown edge constant "26"! when deleting a file with old attachment edges.
Other edges have probably been eliminated in the past. For example this one:
Nov 16 2023
Nov 16 2023
Nov 13 2023
Nov 13 2023
valerio.bozzolan added a comment to T15646: Renaming several Pholio Mockup images creates neverending daemon task (PhutilProxyException due to Array to string conversion).
Interestingly I was able to reproduce the issue with this nonsense patch, in the hope to emulate an email plain-text generation, even if it's not the case:
valerio.bozzolan added a comment to T15646: Renaming several Pholio Mockup images creates neverending daemon task (PhutilProxyException due to Array to string conversion).
For interesting reasons, I cannot, in any way, get an email about somebody renaming a single Mockup photo. And, my email preferences are like "email me for everything from every application" and email delivery is "email me about myself".
Nov 7 2023
Nov 7 2023
aklapper added a comment to T15650: AphrontDuplicateKeyQueryException dragging task from milestone column to main board column: Duplicate entry for key 'boardPHID'.
Initially, the task is in the project's default column:
MariaDB [phabricator_project]> SELECT cp.id, p.name AS projectName, cp.boardPHID, c.name AS columnName, cp.columnPHID FROM project_columnposition cp INNER JOIN project_column c ON cp.columnPHID = c.phid INNER JOIN phabricator_project.project p ON cp.boardPHID = p.phid WHERE objectPHID ="PHID-TASK-f6ri2kdpcvtb3yncho2n"; +-----+----------------+--------------------------------+------------+--------------------------------+ | id | projectName | boardPHID | columnName | columnPHID | +-----+----------------+--------------------------------+------------+--------------------------------+ | 509 | T139396-parent | PHID-PROJ-yt43plz2cxlidyu4dlia | Backloggg | PHID-PCOL-no7jbin6vngwkrghrmrk | +-----+----------------+--------------------------------+------------+--------------------------------+
Oct 25 2023
Oct 25 2023
Oct 24 2023
Oct 24 2023
20after4 added a comment to T15653: Prefilled tag in task form opened from workboard column deletes any project tags defined by form.
In T15653#13929, @valerio.bozzolan wrote:Yeah so we are all for "let's just append as default and maybe think about something more for the future, if they ask"
valerio.bozzolan added a comment to T15653: Prefilled tag in task form opened from workboard column deletes any project tags defined by form.
Yeah so we are all for "let's just append as default and maybe think about something more for the future, if they ask"
20after4 added a comment to T15653: Prefilled tag in task form opened from workboard column deletes any project tags defined by form.
What if it were possible to intentionally remove a tag by passing the tag prepended with - to signify removal? like ?tags=-ABCDE to remove a tag but otherwise the behavior would be to just append. I realize this doesn't have the same compatibility advantages but it does offer slightly more flexibility for use in ad-hoc workflows.
Oct 20 2023
Oct 20 2023
valerio.bozzolan added a comment to T15653: Prefilled tag in task form opened from workboard column deletes any project tags defined by form.
Thanks for reporting.
Oct 17 2023
Oct 17 2023
Oct 13 2023
Oct 13 2023
valerio.bozzolan claimed T15619: Calendar: Impossible to import .ics file (Phorge checks for a non-existing remote URI).
I've probably understood what is going on here
Oct 11 2023
Oct 11 2023
valerio.bozzolan triaged T15082: Consider allowing milestone columns to be ordered arbitrarily on workboards as Wishlist priority.
I triage this to Wishlist since it's indeed useful to some people but it's somehow still controversial. In order to attract more eyes, adding also Discussion Needed.
Oct 7 2023
Oct 7 2023
aklapper added a comment to T15640: Exception: "Call to phutil_nonempty_string() expected null or a string, got: int" in PhabricatorRepository.php.
It's a Git repository branch called 201709 (see downstream) but still no idea how to trigger the exception.
If anyone has an idea what to do to reach code in DiffusionRequest::generateURI() or DiffusionCommitBranchesController, please share.
Oct 4 2023
Oct 4 2023
Oct 3 2023
Oct 3 2023
valerio.bozzolan moved T15515: Blur profile image when account disabled from Backlog to Feature Requests on the Affects-Wikimedia board.
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0