Weekly Project News

Subscribe
Archives

Weekly GitHub Report for Fatfree-core - 2024-07-29 12:00:32

Weekly GitHub Report for Fatfree-core

Thank you for subscribing to our weekly newsletter! Each week, we deliver a comprehensive summary of your GitHub project's latest activity right to your inbox, including an overview of your project's issues, pull requests, contributors, and commit activity.


I. Issues

1.1 Open Issues

Open Issues This Week: 0

Summarized Issues:

As of our latest update, there are no open issues for the project this week.

1.2 Top 5 Active Issues:

We consider active issues to be issues that have generated much discussion in the issue's comments.

  1. cannot use data mapper with property named "status": This issue describes a problem where a property named "status" cannot be set correctly using a data mapper in a PHP application with F3 v3.8.1 and PHP v8.2. The user reports that while setting the property directly adds an anonymous property instead of updating the database field, using a different method or renaming the field works as expected.

    • The first comment explains that "STATUS" is a reserved keyword in MySQL and provides documentation links, while the second comment clarifies that the user is using PostgreSQL, where "status" is not a reserved keyword, and questions if the framework should handle quoting the identifier.
    • Number of comments: 2
  2. Suggestion for internal hive key to prevent collisions: This issue highlights a collision between an internal F3 hive key and a user-defined parameter key, causing a 500 error without debug information. The user suggests prefixing internal hive keys with "_F3__" to prevent such collisions and improve ease of use.

    • The first comment advises reading the Naming Rules in the documentation, suggesting the use of lowercase or camelCase for user-defined variables to avoid conflicts. The second comment acknowledges this advice and expresses intent to be more careful when defining global variables.
    • Number of comments: 2
  3. V4 Session Doesn't Passed Between Pages/Routes: This issue describes a problem where session data is not being passed between pages or routes in version 4 of the Fat-Free Framework (F3). The provided test case demonstrates that session variables set in one function are not available in another, despite the session appearing correct in browser inspection tools.

    • The first comment suggests not calling new Session() and setting session.auto_start = 1 in php.ini as a workaround, noting that sessions are lost across different storage methods. The second comment proposes a code change in base.php to reverse the variable assignment, which temporarily resolves the issue without observed side effects.
    • Number of comments: 2
  4. [Bug] \Cache->exists() returns always bool(false) when DSN is folder: This issue describes a bug in the Fat-Free Core framework where the \Cache->exists() method always returns bool(false) when the Data Source Name (DSN) is a folder. The problem arises because slashes and backslashes are stripped in the set() function but not in the exists() or clear() functions, leading to inconsistencies when the cache key contains slashes or backslashes.

    • A user confirmed the issue on their local development environment and noted that several methods in the base.php file should pass the filename string to the fixslashes method. They submitted a pull request to modify the cache get method to filter the incoming key similarly to the set method.
    • Number of comments: 1

Since there were fewer than 5 open issues, all of the open issues have been listed above.

1.3 Top 5 Quiet Issues:

We consider quiet issues to be issues that have been opened in this project for the longest time. The team should work together to get these issues resolved and closed as soon as possible.

  1. cannot use data mapper with property named "status": This issue describes a problem where attempting to set a property named "status" on a SQLMapper object in PHP results in the creation of an anonymous property instead of correctly setting the database field. The user suggests that "status" might be a special keyword and notes that using the set method to assign the value works as expected.

    • Open for 340 days, 00 hours, 17 minutes
  2. Suggestion for internal hive key to prevent collisions: This issue highlights a collision problem between internal F3 hive keys and user-defined parameter keys in the v4.x-dev version, which results in ERROR 500 without any debug information. The user suggests prefixing internal hive keys with "_F3__" to prevent such collisions and improve ease of use, despite potential backward compatibility concerns.

    • Open for 300 days, 03 hours, 33 minutes
  3. [Bug] \Cache->exists() returns always bool(false) when DSN is folder: This issue describes a bug in the Fat-Free Core framework where the \Cache->exists() method consistently returns bool(false) when the Data Source Name (DSN) is a folder. The problem arises because the set() function strips slashes and backslashes from the cache key, but the exists() and clear() functions do not, leading to a situation where cache files are created but subsequently not found.

    • Open for 278 days, 11 hours, 55 minutes
  4. V4 Session Doesn't Passed Between Pages/Routes: This issue describes a problem where session data is not being passed between pages or routes in version 4 of the Fat-Free Framework (F3). The provided test case demonstrates that while session data is correctly set, it is not retained when navigating to a different route, which works as expected in version 3.8.

    • Open for 232 days, 13 hours, 59 minutes
  5. Space at the end of route in config causes method not allowed: This issue describes a bug in the configuration of routes where a trailing space at the end of a route definition causes a "method not allowed" error. The user is frustrated that the system does not automatically trim the trailing space, leading to significant debugging challenges.

    • Open for 219 days, 02 hours, 52 minutes

1.4 Closed Issues

Closed Issues This Week: 0

Average Issue Close Time (This Week): 0.00 days

Summarized Issues:

As of our latest update, there are no closed issues for the project this week.

1.5 Issue Discussion Insights

This section will analyze the tone and sentiment of discussions within this project's open issues within the past week to identify potentially heated exchanges and to maintain a constructive project environment.

As of our last update, there are no open issues with discussions going on within the past week.


II. Pull Requests

2.1 Open Pull Requests

Open Pull Requests This Week: 0

Pull Requests:

As of our latest update, there are no open pull requests for the project this week.

2.2 Closed Pull Requests

Closed Pull Requests This Week: 0

Summarized Pull Requests:

As of our latest update, there are no closed pull requests for the project this week.

2.3 Pull Request Discussion Insights

This section will analyze the tone and sentiment of discussions within this project's open pull requests within the past week to identify potentially heated exchanges and to maintain a constructive project environment.

As of our last update, there are no open pull requests with discussions going on within the past week.


III. Commits

3.1 Commits

Commits This Week: 0

Summarized Commits:

As of our latest update, there are no commits for the project this week.


IV. Contributors

4.1 Contributors

Active Contributors:

We consider an active contributor in this project to be any contributor who has made at least 1 commit, opened at least 1 issue, or created at least 1 pull request in the past month.

Contributor Commits Pull Requests Issues
Christian Knuth 2 0 0

Don't miss what's next. Subscribe to Weekly Project News:
Powered by Buttondown, the easiest way to start and grow your newsletter.