Weekly Project News

Subscribe
Archives

Weekly GitHub Report for Fatfree-core - 2024-07-22 12:00:20

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 setting a property named "status" on a SQLMapper object in PHP does not correctly update the corresponding database field, instead adding an anonymous property. The user suggests that "status" might be a special keyword and notes that using a different name for the database field resolves the issue, while using the set method works correctly.

    • The first comment points out that "STATUS" is a reserved keyword in MySQL and provides documentation links. The second comment acknowledges this but mentions that the user is using PostgreSQL, where "status" is not a reserved keyword, and questions if the framework can handle it with quotes.
    • 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 ease parameter management.

    • 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 indicates the user will be more careful in 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 the browser's inspection tools.

    • The comments discuss potential solutions, including not calling new Session() and setting session.auto_start = 1 in php.ini, as well as a temporary fix involving changing the variable assignment in base.php to ensure session data is correctly synchronized.
    • 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 experiencing the same issue in their local development environment and identified 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 F3 v3.8.1 with PHP v8.2 results in the property being added as an anonymous property rather than correctly updating the corresponding 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 333 days, 06 hours, 42 minutes
  2. Suggestion for internal hive key to prevent collisions: This issue highlights a problem with internal hive key collisions in the F3 framework, where a user-defined parameter key conflicts with an internal key, causing a critical error without debug information. The user suggests prefixing internal hive keys with "_F3__" to prevent such collisions and improve the ease of setting custom parameters.

    • Open for 293 days, 09 hours, 58 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() function 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 a situation where cache files are created but not subsequently found.

    • Open for 271 days, 18 hours, 20 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 user provides a test case demonstrating that session variables set in one function are not available in another, despite the session appearing correct in browser cookies and working as expected in version 3.8 of the framework.

    • Open for 225 days, 20 hours, 24 minutes
  5. Space at the end of route in config causes method not allowed: This issue highlights 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 212 days, 09 hours, 16 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
GhaziTriki 0 1 0

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